Add change lost in Fedora to reduce diff to RHEL8
Related: rhbz1973448
This commit is contained in:
parent
d86cc239ae
commit
16398f4fa6
@ -79,6 +79,10 @@ Professional services and support are available.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
|
### Add a specific os.conf so we do not depend on LSB dependencies
|
||||||
|
%{?fedora:echo -e "OS_VENDOR=Fedora\nOS_VERSION=%{?fedora}" >etc/rear/os.conf}
|
||||||
|
%{?rhel:echo -e "OS_VENDOR=RedHatEnterpriseServer\nOS_VERSION=%{?rhel}" >etc/rear/os.conf}
|
||||||
|
|
||||||
# Change /lib to /usr/lib for COPY_AS_IS
|
# Change /lib to /usr/lib for COPY_AS_IS
|
||||||
sed -E -e "s:([\"' ])/lib:\1/usr/lib:g" \
|
sed -E -e "s:([\"' ])/lib:\1/usr/lib:g" \
|
||||||
-i usr/share/rear/prep/GNU/Linux/*include*.sh
|
-i usr/share/rear/prep/GNU/Linux/*include*.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user