| |
@@ -3,7 +3,7 @@
|
| |
|
| |
Name: python-%{shortname}
|
| |
Version: 3.1.1a1
|
| |
- Release: 15%{?dist}
|
| |
+ Release: 16%{?dist}
|
| |
Summary: Python bindings for OpenGL
|
| |
License: BSD
|
| |
URL: https://github.com/mcfletch/pyopengl
|
| |
@@ -30,7 +30,6 @@
|
| |
BuildRequires: python2-devel
|
| |
BuildRequires: python2-setuptools
|
| |
BuildRequires: python2-numpy
|
| |
- BuildRequires: python2-Cython
|
| |
Requires: freeglut
|
| |
Requires: python2-numpy
|
| |
%{?python_provide:%python_provide python2-%{shortname}}
|
| |
@@ -100,7 +99,8 @@
|
| |
%{srcname}-%{version}/OpenGL/GL/SGIX/async_.py
|
| |
|
| |
%build
|
| |
- # Delete all Cython generated .c files to force a rebuild
|
| |
+ # Delete all Cython generated .c files to force a rebuild in py3_build
|
| |
+ # (py2_build then reuses the Cython output)
|
| |
pushd %{srcname}-accelerate-%{version}/src
|
| |
for f in *.pyx ; do
|
| |
rm -f "${f%.pyx}.c"
|
| |
@@ -109,8 +109,8 @@
|
| |
|
| |
for dir in %{srcname}-%{version} %{srcname}-accelerate-%{version} ; do
|
| |
pushd $dir
|
| |
- %py2_build
|
| |
%py3_build
|
| |
+ %py2_build
|
| |
popd
|
| |
done
|
| |
|
| |
@@ -161,6 +161,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue Jul 16 2019 Petr Viktorin <pviktori@redhat.com> - 3.1.1a1-16
|
| |
+ - Remove build dependency on python2-Cython
|
| |
+
|
| |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.1a1-15
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
| |
|
| |
Cython's output doesn't depend on the Python used to run it. The C files can be built in
%py3_build
, and reused for Python 2.