diff --git python-olpcgames/python-olpcgames.spec python-olpcgames/python-olpcgames.spec.tmp index 5db4eff6f8..1a76e72efc 100644 --- python-olpcgames/python-olpcgames.spec +++ python-olpcgames/python-olpcgames.spec.tmp @@ -2,7 +2,7 @@ Name: python-olpcgames Version: 1.6 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Utilities for developing games on the OLPC platform Group: Development/Languages @@ -11,16 +11,24 @@ URL: http://wiki.laptop.org/go/OLPCGames Source0: http://dev.laptop.org/~mcfletch/OLPCGames/OLPCGames-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: pygame BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -%description -This python package contains various resources and utility classes for making -games on the OLPC system. Specifically it enables using PyGame in the Sugar +%global _description\ +This python package contains various resources and utility classes for making\ +games on the OLPC system. Specifically it enables using PyGame in the Sugar\ environment. +%description %_description + +%package -n python2-olpcgames +Summary: %summary +Requires: pygame +%{?python_provide:%python_provide python2-olpcgames} + +%description -n python2-olpcgames %_description + %prep %setup -q -n OLPCGames-%{version} @@ -42,13 +50,17 @@ sed -i -e 1d $RPM_BUILD_ROOT%{python_sitelib}/olpcgames/buildmanifest.py rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-olpcgames %defattr(-,root,root,-) %doc NEWS olpcgames/COPYING %{python_sitelib}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.6-16 +- Python 2 binary package renamed to python2-olpcgames + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild