[hdf] move autoreconf to build section
Peter Robinson
pbrobinson at fedoraproject.org
Wed Jun 25 14:26:49 UTC 2014
commit 2029323bc0767f472cc6be94da4b039b865c1882
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Wed Jun 25 14:07:14 2014 +0100
move autoreconf to build section
hdf.spec | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/hdf.spec b/hdf.spec
index b6dbe69..3dfd9db 100644
--- a/hdf.spec
+++ b/hdf.spec
@@ -64,8 +64,6 @@ HDF development headers and libraries.
%patch6 -p1 -b .examplesdir
%patch7 -p1 -b .format
%patch8 -p1 -b .aarch64
-# For destdir/examplesdir patches
-autoreconf -i
chmod a-x *hdf/*/*.c hdf/*/*.h
# restore include file timestamps modified by patching
@@ -73,6 +71,8 @@ touch -c -r ./hdf/src/hdfi.h.ppc ./hdf/src/hdfi.h
%build
+# For destdir/examplesdir patches
+autoreconf -vif
# avoid upstream compiler flags settings
rm config/*linux-gnu
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
More information about the scm-commits
mailing list