Add missing .pxd files as sources and update URL

This commit is contained in:
Jonathan G. Underwood 2018-06-27 00:10:24 +01:00
parent 3d9c99b805
commit 7d73c01528
3 changed files with 14 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
/PyOpenGL-3.1.1a1.tar.gz
/PyOpenGL-accelerate-3.1.1a1.tar.gz
/formathandler.pxd
/wrapper.pxd

View File

@ -6,9 +6,13 @@ Version: 3.1.1a1
Release: 12%{?dist}
Summary: Python bindings for OpenGL
License: BSD
URL: http://pyopengl.sourceforge.net/
URL: https://github.com/mcfletch/pyopengl
Source0: https://pypi.python.org/packages/source/P/%{srcname}/%{srcname}-%{version}.tar.gz
Source1: https://pypi.python.org/packages/source/P/%{srcname}-accelerate/%{srcname}-accelerate-%{version}.tar.gz
# These two files are missing from the accelerate module tarball
# https://github.com/mcfletch/pyopengl/issues/12
Source2: wrapper.pxd
Source3: formathandler.pxd
%description
PyOpenGL is the cross platform Python binding to OpenGL and related APIs. It
@ -91,6 +95,7 @@ Provides: python3-PyOpenGL-Tk = %{version}-%{release}
%prep
%setup -q -c -n %{srcname}-%{version} -T -a0 -a1
cp %{SOURCE2} %{SOURCE3} %{srcname}-accelerate-%{version}/src
%build
# Delete all Cython generated .c files to force a rebuild
@ -162,6 +167,8 @@ popd
- Add BuildRequires for python{2,3}-Cython
- Remove uneeded Provides/Obsoletes
- Force Cython rebuild of c files
- Add missing .pxd files from upstream github repository
- Update URL to point to github
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.1.1a1-11
- Rebuilt for Python 3.7

View File

@ -1,2 +1,4 @@
77ee6044ceb2cf952aca89a9b2d3d585 PyOpenGL-3.1.1a1.tar.gz
04e52af352dd078275a2d5720c4afea2 PyOpenGL-accelerate-3.1.1a1.tar.gz
SHA512 (PyOpenGL-3.1.1a1.tar.gz) = 8f4f57b153ee014dc238fe83180cc92f8e789a274fc6b0cbef6f5dec9dbc44cb1ae1f6b142a6c2b4c8c000709338d64f5968939eeb6a2384f87fb63ae99b40d8
SHA512 (PyOpenGL-accelerate-3.1.1a1.tar.gz) = 6881e3b435da5a33ff31c0991f403166236b44a5bd21ca60418d131dafc1159d6b1c73e60b935d1761d4fc848b824422abbe0e850fe860fa694b64536dddc35c
SHA512 (formathandler.pxd) = c7d846aaf9b3af526ae8870d9821846ddbfb132b4db05a974f0198dea9bf76684f4473bb6ba88e0c6dd3732865b1963489a506dca91d0613b53af598e4fdb684
SHA512 (wrapper.pxd) = cc8c06550fb365929ca0fae237298ad64c2d4c14fda8963ab0601bd55c9b43c15787bd77784419d8590335fee4be73b916a19436a752f33ceedc7d6ab3e48c9e