move autoreconf to build section

epel9
Peter Robinson 11 years ago
parent 8804e81682
commit 2029323bc0

@ -64,8 +64,6 @@ HDF development headers and libraries.
%patch6 -p1 -b .examplesdir %patch6 -p1 -b .examplesdir
%patch7 -p1 -b .format %patch7 -p1 -b .format
%patch8 -p1 -b .aarch64 %patch8 -p1 -b .aarch64
# For destdir/examplesdir patches
autoreconf -i
chmod a-x *hdf/*/*.c hdf/*/*.h chmod a-x *hdf/*/*.c hdf/*/*.h
# restore include file timestamps modified by patching # restore include file timestamps modified by patching
@ -73,6 +71,8 @@ touch -c -r ./hdf/src/hdfi.h.ppc ./hdf/src/hdfi.h
%build %build
# For destdir/examplesdir patches
autoreconf -vif
# avoid upstream compiler flags settings # avoid upstream compiler flags settings
rm config/*linux-gnu rm config/*linux-gnu
export CFLAGS="$RPM_OPT_FLAGS -fPIC" export CFLAGS="$RPM_OPT_FLAGS -fPIC"

Loading…
Cancel
Save