diff --git a/libarchive.changes b/libarchive.changes index 2705fa1..7f9f792 100644 --- a/libarchive.changes +++ b/libarchive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 22 19:51:10 UTC 2015 - astieger@suse.com + +- RHEL/CentOS build fix, skipping autoreconf + ------------------------------------------------------------------- Sun Mar 15 20:11:00 UTC 2015 - astieger@suse.com diff --git a/libarchive.spec b/libarchive.spec index 49174e1..9aafb23 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -21,6 +21,7 @@ %bcond_without static_libs %bcond_with openssl %bcond_with ext2fs +%define skip_autoreconf 1 %endif %else %bcond_with static_libs @@ -168,12 +169,16 @@ static library for libarchive %if %{with openssl} %patch0 %endif +%if !0%{?skip_autoreconf} %patch1 -p1 +%endif %patch2 -p1 %patch3 -p1 %build +%if !0%{?skip_autoreconf} autoreconf -fiv +%endif %global optflags %{optflags} -D_REENTRANT -pipe %configure \ --disable-silent-rules \