diff --git python-decoratortools/python-decoratortools.spec python-decoratortools/python-decoratortools.spec.tmp index 53145f2e7e..056fb2beaa 100644 --- python-decoratortools/python-decoratortools.spec +++ python-decoratortools/python-decoratortools.spec.tmp @@ -5,7 +5,7 @@ Name: python-decoratortools Version: 1.8 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Use class and function decorators -- even in Python 2.3 Group: Development/Languages License: Python or ZPLv2.1 @@ -16,12 +16,20 @@ BuildArch: noarch BuildRequires: python-devel python-setuptools python-nose -%description -Want to use decorators, but still need to support Python 2.3? Wish you could -have class decorators, decorate arbitrary assignments, or match decorated -function signatures to their original functions? Then you need "DecoratorTools" +%global _description\ +Want to use decorators, but still need to support Python 2.3? Wish you could\ +have class decorators, decorate arbitrary assignments, or match decorated\ +function signatures to their original functions? Then you need "DecoratorTools"\ +%description %_description + +%package -n python2-decoratortools +Summary: %summary +%{?python_provide:%python_provide python2-decoratortools} + +%description -n python2-decoratortools %_description + %prep %setup -q -n %{module}-%{version} @@ -43,7 +51,7 @@ PYTHONPATH=$(pwd) nosetests -q rm -rf %{buildroot} -%files +%files -n python2-decoratortools %defattr(-,root,root,-) %doc README.txt %{python_sitelib}/peak @@ -52,6 +60,10 @@ rm -rf %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.8-15 +- Python 2 binary package renamed to python2-decoratortools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild