diff --git python-pypng/python-pypng.spec python-pypng/python-pypng.spec.tmp index 53a0568439..10532d0b78 100644 --- python-pypng/python-pypng.spec +++ python-pypng/python-pypng.spec.tmp @@ -12,7 +12,7 @@ Name: python-pypng Version: 0.0.18 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Pure Python PNG image encoder/decoder Group: Development/Libraries @@ -31,12 +31,20 @@ BuildRequires: python3-nose BuildRequires: python-tools %endif -%description -PyPNG allows PNG image files to be read and written using pure Python. +%global _description\ +PyPNG allows PNG image files to be read and written using pure Python.\ +\ +It's available from github.com https://github.com/drj11/pypng\ +\ +Documentation is kindly hosted by PyPI http://pythonhosted.org/pypng/ -It's available from github.com https://github.com/drj11/pypng +%description %_description -Documentation is kindly hosted by PyPI http://pythonhosted.org/pypng/ +%package -n python2-pypng +Summary: %summary +%{?python_provide:%python_provide python2-pypng} + +%description -n python2-pypng %_description %if 0%{?with_python3} %package -n python3-pypng @@ -93,7 +101,7 @@ nosetests-%{python3_version} code/png.py popd %endif -%files +%files -n python2-pypng %doc README.txt LICENCE %{python2_sitelib}/png.py* %{python2_sitelib}/%{modname}-%{version}* @@ -107,6 +115,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.0.18-8 +- Python 2 binary package renamed to python2-pypng + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.0.18-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild