diff --git python-elements/python-elements.spec python-elements/python-elements.spec.tmp index a01008280a..d6748592e0 100644 --- python-elements/python-elements.spec +++ python-elements/python-elements.spec.tmp @@ -12,7 +12,7 @@ Name: python-elements Version: 0.13 -Release: 14.%{svndate}svn%{?dist} +Release: 15.%{svndate}svn%{?dist} Summary: A 2D Physics API for Python Group: Development/Libraries @@ -23,13 +23,21 @@ Source0: %{tarfile} BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -Requires: pybox2d -%description -An easy to use API for integrating 2D physics (with pybox2d) into own -python ideas, that includes user interfaces & simulations, as well as -teaching & learning tools. +%global _description\ +An easy to use API for integrating 2D physics (with pybox2d) into own\ +python ideas, that includes user interfaces & simulations, as well as\ +teaching & learning tools.\ + + +%description %_description +%package -n python2-elements +Summary: %summary +Requires: pybox2d +%{?python_provide:%python_provide python2-elements} + +%description -n python2-elements %_description %prep %setup -q @@ -46,13 +54,17 @@ sed -i elements/elements.py -e 1d %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-elements %defattr(-,root,root,-) %doc CREDITS LICENSE README %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.13-15.20100110svn +- Python 2 binary package renamed to python2-elements + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.13-14.20100110svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild