[PyOpenGL] Update to 3.0.2

François Cami fcami at fedoraproject.org
Wed Aug 28 11:15:10 UTC 2013


commit 0f753a95f055735dbe60d3a11660b1df15250e7f
Author: François Cami <fcami at fedoraproject.org>
Date:   Wed Aug 28 13:14:35 2013 +0200

    Update to 3.0.2

 .gitignore    |    1 +
 PyOpenGL.spec |   22 ++++++++++------------
 sources       |    2 +-
 3 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f901d72..1f2fd0a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 PyOpenGL-3.0.0.tar.gz
 /PyOpenGL-3.0.1.tar.gz
+/PyOpenGL-3.0.2.tar.gz
diff --git a/PyOpenGL.spec b/PyOpenGL.spec
index 25ad283..b9cbe61 100644
--- a/PyOpenGL.spec
+++ b/PyOpenGL.spec
@@ -1,6 +1,6 @@
 Name:           PyOpenGL
-Version:        3.0.1
-Release:        7%{?dist}
+Version:        3.0.2
+Release:        1%{?dist}
 Summary:        Python bindings for OpenGL
 License:        BSD
 Group:          System Environment/Libraries
@@ -11,11 +11,9 @@ URL:            http://pyopengl.sourceforge.net/
 # and upstream packages will not match. However I'm not changig the 
 # source URL since I hope it will be fixed in a next release.
 # Upstream bug: https://sourceforge.net/tracker/?func=detail&aid=3451797&group_id=5988&atid=105988
-Source0:        http://downloads.sourceforge.net/pyopengl/%{name}-%{version}.tar.gz
-# Remove shebang from Tk module, since it's not needed
-# Upstream bug: https://sourceforge.net/tracker/?func=detail&aid=3287895&group_id=5988&atid=105988
-Patch0:         PyOpenGL_shebang.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+#
+# fcami - NB: The directory to remove is OpenGL/DLLS/
+Source0:        https://pypi.python.org/packages/source/P/%{name}/%{name}-%{version}.tar.gz
 BuildRequires:  python2-devel 
 BuildRequires:  python-setuptools-devel
 BuildArch:      noarch
@@ -33,7 +31,6 @@ implementation).
 PyOpenGL is interoperable with a large number of external GUI libraries
 for Python including (Tkinter, wxPython, FxPy, PyGame, and Qt). 
 
-
 %package Tk
 Summary:        %{name} OpenGL Tk widget
 Group:          System Environment/Libraries
@@ -44,19 +41,17 @@ Requires:       %{name} = %{version}-%{release}, tkinter
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p0 
 
 %build
 %{__python} setup.py build
 
-
 %install
 %{__python} setup.py install -O1 --skip-build --root="$RPM_BUILD_ROOT" \
   --prefix="%{_prefix}"
-chmod -x %{buildroot}%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
+find %{buildroot}%{python_sitelib}/%{name}-%{version}-py?.?.egg-info \
+  -type f -exec chmod -x '{}' \;
 
 %files
-%defattr(-,root,root,-)
 %doc license.txt
 %{python_sitelib}/*OpenGL*
 %exclude %{python_sitelib}/OpenGL/Tk
@@ -66,6 +61,9 @@ chmod -x %{buildroot}%{python_sitelib}/%{name}-%{version}-py?.?.egg-info
 %{python_sitelib}/OpenGL/Tk
 
 %changelog
+* Fri Aug 23 2013 François Cami <fcami at fedoraproject.org> - 3.0.2-1
+- Update to latest upstream.
+
 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.0.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 8fb42cb..1cba492 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8f5ee037b11c6f0f194be101738d6ad7  PyOpenGL-3.0.1.tar.gz
+6dcfb55ab2fbcaeebb900a0397ce0235  PyOpenGL-3.0.2.tar.gz


More information about the scm-commits mailing list