[python-cvxopt] Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
Bohuslav Kabrda
bkabrda at fedoraproject.org
Fri May 16 11:31:49 UTC 2014
commit 91848f156886f91b48bdb89c4011be8bab22ec3b
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Fri May 16 13:31:39 2014 +0200
Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
python-cvxopt.spec | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/python-cvxopt.spec b/python-cvxopt.spec
index a34f58e..7c54583 100644
--- a/python-cvxopt.spec
+++ b/python-cvxopt.spec
@@ -1,6 +1,6 @@
Name: python-cvxopt
Version: 1.1.6
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: A Python Package for Convex Optimization
Group: Development/Languages
License: GPLv3+
@@ -97,6 +97,9 @@ export LDSHARED="gcc -shared -Wl,--as-needed $RPM_LD_FLAGS"
# Build for python 3
mv src src2
mv src3 src
+# Setting CFLAGS is needed for python3.4.0 only, should be fixed in 3.4.1, see
+# http://bugs.python.org/issue21121
+CFLAGS=$(%{__python3} -c 'import sysconfig; print(sysconfig.getconfigvar("CFLAGS").replace("-Werror=declaration-after-statement",""))') \
%{__python3} setup.py build
# Rebuild the documentation
@@ -134,6 +137,9 @@ cp -a examples %{buildroot}%{_datadir}/%{name}/
%changelog
+* Wed May 14 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 1.1.6-5
+- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
+
* Fri Dec 06 2013 Nils Philippsen <nils at redhat.com> - 1.1.6-4
- rebuild (suitesparse)
More information about the scm-commits
mailing list