diff --git python-gearbox/python-gearbox.spec python-gearbox/python-gearbox.spec.tmp index 10b253e165..71e503b919 100644 --- python-gearbox/python-gearbox.spec +++ python-gearbox/python-gearbox.spec.tmp @@ -6,7 +6,7 @@ Name: python-gearbox Version: 0.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Command line toolkit born as a PasteScript replacement for TurboGears2 Group: Development/Libraries @@ -19,23 +19,30 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-prettytable -Requires: python-cliff -Requires: python-tempita -Requires: python-paste-deploy - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description -gearbox is a paster command replacement for TurboGears2. It has been -created during the process of providing Python3 support to the TurboGears2 -web framework, while still being backward compatible with the existing -TurboGears projects. +%global _description\ +gearbox is a paster command replacement for TurboGears2. It has been\ +created during the process of providing Python3 support to the TurboGears2\ +web framework, while still being backward compatible with the existing\ +TurboGears projects.\ +%description %_description + +%package -n python2-gearbox +Summary: %summary +Requires: python-prettytable +Requires: python-cliff +Requires: python-tempita +Requires: python-paste-deploy +%{?python_provide:%python_provide python2-gearbox} + +%description -n python2-gearbox %_description + %if 0%{?with_python3} %package -n python3-gearbox Summary: Command line toolkit born as a PasteScript replacement for TurboGears2 @@ -85,7 +92,7 @@ popd %{__python} setup.py install -O1 --skip-build --root=%{buildroot} -%files +%files -n python2-gearbox %doc README.rst %{_bindir}/gearbox %{python_sitelib}/%{modname}/ @@ -100,6 +107,10 @@ popd %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.1.1-7 +- Python 2 binary package renamed to python2-gearbox + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild