diff --git python-backports/python-backports.spec python-backports/python-backports.spec.tmp index 1c6f0245a0..922eb001ae 100644 --- python-backports/python-backports.spec +++ python-backports/python-backports.spec.tmp @@ -2,7 +2,7 @@ Name: python-backports Version: 1.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Namespace for backported Python features # Only code is sourced from http://www.python.org/dev/peps/pep-0382/ @@ -12,17 +12,25 @@ Source0: backports.py BuildRequires: python2-devel -%description -The backports namespace is a namespace reserved for features backported from -the Python standard library to older versions of Python 2. +%global _description\ +The backports namespace is a namespace reserved for features backported from\ +the Python standard library to older versions of Python 2.\ +\ +Packages that exist in the backports namespace in Fedora should not provide\ +their own backports/__init__.py, but instead require this package.\ +\ +Backports to earlier versions of Python 3, if they exist, do not need this\ +package because of changes made in Python 3.3 in PEP 420\ +(http://www.python.org/dev/peps/pep-0420/).\ -Packages that exist in the backports namespace in Fedora should not provide -their own backports/__init__.py, but instead require this package. -Backports to earlier versions of Python 3, if they exist, do not need this -package because of changes made in Python 3.3 in PEP 420 -(http://www.python.org/dev/peps/pep-0420/). +%description %_description +%package -n python2-backports +Summary: %summary +%{?python_provide:%python_provide python2-backports} + +%description -n python2-backports %_description %prep @@ -39,7 +47,7 @@ install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py %endif -%files +%files -n python2-backports %{python_sitelib}/backports %if "%{python_sitelib}" != "%{python_sitearch}" %{python_sitearch}/backports @@ -47,6 +55,10 @@ install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.0-12 +- Python 2 binary package renamed to python2-backports + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild