[Macaulay2] autofoo config love
Rex Dieter
rdieter at fedoraproject.org
Tue May 20 11:23:26 UTC 2014
commit 427899d44592467df9cd90486c4718c6f3eb6ab5
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Tue May 20 06:23:03 2014 -0500
autofoo config love
... since we're not using %%configure (yet)
see also http://bugzilla.redhat.com/926110
Macaulay2.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/Macaulay2.spec b/Macaulay2.spec
index 7c0cf73..8ec4328 100644
--- a/Macaulay2.spec
+++ b/Macaulay2.spec
@@ -186,6 +186,12 @@ popd
%patch12 -p2 -b .rpath
%patch13 -p2 -b .gc
+# autofoo config love, since we're not using %%configure (yet)
+# see also http://bugzilla.redhat.com/926110
+for i in $(find . -name config.guess -o -name config.sub) ; do
+ [ -f /usr/lib/rpm/redhat/$(basename $i) ] && %{__rm} -f $i && %{__cp} -fv /usr/lib/rpm/redhat/$(basename $i) $i ;
+done
+
# (re)generate configure
[ -f configure -a -f include/config.h ] || make
More information about the scm-commits
mailing list