[NLopt/el5] adaptions for new Python-guidelines

Björn Esser besser82 at fedoraproject.org
Wed Oct 2 14:26:36 UTC 2013


commit 45b2179ca9e80a98b80e2fb479f86793b440fffe
Author: Björn Esser <bjoern.esser at gmail.com>
Date:   Wed Oct 2 16:25:35 2013 +0200

    adaptions for new Python-guidelines

 NLopt.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index c9829f4..e58360a 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -33,7 +33,7 @@
 
 Name:		NLopt
 Version:	2.4
-Release:	1%{gitrelease}%{?dist}
+Release:	2%{gitrelease}%{?dist}
 Summary:	Open-Source library for nonlinear optimization
 %{?el5:Group:	System Environment/Libraries}
 
@@ -239,7 +239,7 @@ cp -a . %{py3dir}
 	--enable-maintainer-mode	\
 	--with-cxx			\
 %if 0%{?fedora} || 0%{?rhel} >= 7
-	PYTHON=%{__python}		\
+	PYTHON=%{__python2}		\
 %endif
 	OCT_INSTALL_DIR=%{octpkglibdir}
 
@@ -391,5 +391,8 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
 %endif
 
 %changelog
+* Wed Oct 02 2013 Björn Esser <bjoern.esser at gmail.com> - 2.4-2.git20130903.35e6377
+- adaptions for new Python-guidelines
+
 * Thu Sep 19 2013 Björn Esser <bjoern.esser at gmail.com> - 2.4-1.git20130903.35e6377
 - Initial rpm release (#1004209)


More information about the ml mailing list