[NLopt/el5] another fix for el5

Björn Esser besser82 at fedoraproject.org
Fri Dec 20 16:30:36 UTC 2013


commit bf97bb8c235c7d3169f5ea2fffd7456504a2fab2
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Fri Dec 20 17:30:13 2013 +0100

    another fix for el5

 NLopt.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 8238065..d69de92 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -222,8 +222,8 @@ done
 #%%{?el5:sed -i -e 's!swig!!g' Makefile.am}
 %{?el5:	_file="swig/Makefile.am" &&						\
 	mv -f ${_file} ${_file}.orig &&						\
-	touch -r ${_file}.orig ${_file}} &&					\
-	rm -f ${_file}.orig
+	touch -r ${_file}.orig ${_file} &&					\
+	rm -f ${_file}.orig}
 
 # Bootstrapping once before we create a copy in %%{py3dir}.
 touch swig/nlopt.scm.in


More information about the scm-commits mailing list