diff --git python-d2to1/python-d2to1.spec python-d2to1/python-d2to1.spec.tmp index cb8974deb1..40a2bd6be8 100644 --- python-d2to1/python-d2to1.spec +++ python-d2to1/python-d2to1.spec.tmp @@ -8,7 +8,7 @@ Name: python-%{srcname} Version: 0.2.12 -Release: 5.post1%{?dist} +Release: 6.post1%{?dist} Summary: Allows using distutils2-like setup.cfg files with setup.py License: BSD @@ -17,18 +17,25 @@ URL: http://pypi.python.org/pypi/d2to1 #Source0: http://pypi.python.org/packages/source/d/d2to1/%{srcname}-%{version}.tar.gz Source0: https://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.12.post1.tar.gz BuildRequires: python2-devel python-setuptools -Requires: python-setuptools - -Provides: python2-d2to1 BuildArch: noarch -%description -d2to1 allows using distutils2-like setup.cfg files for a package's metadata -with a distribute/setuptools setup.py script. It works by providing a -distutils2-formatted setup.cfg file containing all of a package's metadata, +%global _description\ +d2to1 allows using distutils2-like setup.cfg files for a package's metadata\ +with a distribute/setuptools setup.py script. It works by providing a\ +distutils2-formatted setup.cfg file containing all of a package's metadata,\ and a very minimal setup.py which will slurp its arguments from the setup.cfg. +%description %_description + +%package -n python2-d2to1 +Summary: %summary +Requires: python-setuptools +Provides: python2-d2to1 +%{?python_provide:%python_provide python2-d2to1} + +%description -n python2-d2to1 %_description + %if 0%{?with_python3} %package -n python3-d2to1 Summary: Allows using distutils2-like setup.cfg files with setup.py @@ -73,7 +80,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-d2to1 %doc CHANGES.rst README.rst %license LICENSE %{python2_sitelib}/* @@ -87,6 +94,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.12-6.post1 +- Python 2 binary package renamed to python2-d2to1 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.12-5.post1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild