Add BuildRequires for python{2,3}-Cython

Remove uneeded Provides/Obsoletes
This commit is contained in:
Jonathan G. Underwood 2018-06-26 22:25:44 +01:00
parent 137efec783
commit 7533498a60

View File

@ -3,7 +3,7 @@
Name: python-%{shortname}
Version: 3.1.1a1
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Python bindings for OpenGL
License: BSD
URL: http://pyopengl.sourceforge.net/
@ -25,12 +25,10 @@ Summary: Python 2 bindings for OpenGL
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-numpy
BuildRequires: python2-Cython
Requires: freeglut
Requires: python2-numpy
%{?python_provide:%python_provide python2-%{shortname}}
# These can be removed in Fedora 27
Obsoletes: PyOpenGL < 3.1.0-7
Provides: PyOpenGL = %{version}-%{release}
%description -n python2-%{shortname}
PyOpenGL is the cross platform Python binding to OpenGL and related APIs. It
@ -47,12 +45,10 @@ Summary: Python 3 bindings for OpenGL
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-numpy
BuildRequires: python3-Cython
Requires: freeglut
Requires: python3-numpy
%{?python_provide:%python_provide python3-%{shortname}}
# These can be removed in Fedora 27
Obsoletes: python3-PyOpenGL < 3.1.0-7
Provides: python3-PyOpenGL = %{version}-%{release}
%description -n python3-%{shortname}
PyOpenGL is the cross platform Python binding to OpenGL and related APIs. It
@ -155,6 +151,10 @@ popd
%changelog
* Tue Jun 26 2018 Jonathan Underwood <Jonathan G. Underwood@gmail.com> - 3.1.1a1-12
- Add BuildRequires for python{2,3}-Cython
- Remove uneeded Provides/Obsoletes
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1a1-11
- Rebuilt for Python 3.7