[NLopt/el5] do not autoreconf on el5

Björn Esser besser82 at fedoraproject.org
Fri Dec 20 15:51:43 UTC 2013


commit 0c395240550f62ed0c8ecea2d18724c7548408db
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Fri Dec 20 16:51:08 2013 +0100

    do not autoreconf on el5

 NLopt.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 5ee9d91..4613e2f 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -227,7 +227,7 @@ done
 
 # Bootstrapping once before we create a copy in %%{py3dir}.
 touch swig/nlopt.scm.in
-autoreconf -fiv
+%{!?el5:autoreconf -fiv}
 
 %if 0%{?fedora} || 0%{?rhel} >= 7
 # Creating a copy for building the Python3-plugin.
@@ -401,6 +401,7 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
 - use `tr` instead of shell-builtin for `%%define lc_name`
 - move `README.md` only if existing
 - create an empty Makefile on el5 instead of modifying top-level Makefile.am
+- do not autoreconf on el5
 
 * Fri Dec 20 2013 Björn Esser <bjoern.esser at gmail.com> - 2.4-3.git20130903.35e6377
 - made %%clean-target conditional on el5


More information about the scm-commits mailing list