Actually use the 1.2.0 release

This commit is contained in:
Petr Viktorin 2015-02-13 16:05:36 +01:00
commit 7d64743318

View file

@ -1,12 +1,12 @@
%global with_python3 1
%global srcname pyglet
%global srcversion 1.2
%global versionedname %{srcname}-%{srcversion}alpha1
%global srcversion 1.2.0
%global versionedname %{srcname}-%{srcversion}
Name: python-%{srcname}
Version: %{srcversion}
Release: 0.12%{?dist}
Release: 0.13%{?dist}
Summary: A cross-platform windowing and multimedia library for Python
License: BSD
@ -22,8 +22,10 @@ Source1: pyglet-get-tarball.sh
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%endif
Requires: python
@ -77,7 +79,7 @@ pyglet might be seen as an alternative to PyGame.
# Remove the bundled pypng library (python-pillow provides the same functionality)
rm pyglet/image/codecs/png.py
rm pyglet/image/codecs/pypng.py
rm pyglet/extlibs/png.py
# Get rid of hashbang lines. This is a library, it has no executable scripts.
# Also remove Windows newlines
@ -131,6 +133,9 @@ popd
%changelog
* Wed Jan 28 2015 Petr Viktorin <pviktori@redhat.com> - 1.2-0.13
- Actually use the 1.2.0 release
* Wed Jan 28 2015 Petr Viktorin <pviktori@redhat.com> - 1.2-0.12
- Use the official 1.2 release