Handle RHEL 8 properly
This commit is contained in:
parent
76f96ede2c
commit
d5f29df736
@ -13,7 +13,7 @@ Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
||||
Patch0: libisofs-0.6.16-multilib.patch
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: gcc, libacl-devel, zlib-devel
|
||||
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
||||
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 8
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
%endif
|
||||
|
||||
@ -59,7 +59,7 @@ sed -e 's@libisofs-1.pc@libisofs1-1.pc@g' -i configure.ac
|
||||
sed -e 's@isofs@isofs1@g' libisofs-1.pc.in > libisofs1-1.pc.in
|
||||
|
||||
libtoolize --force
|
||||
autoreconf --force
|
||||
autoreconf --force --install
|
||||
%endif
|
||||
|
||||
%build
|
||||
|
Loading…
Reference in New Issue
Block a user