diff --git python-di/python-di.spec python-di/python-di.spec.tmp index df6be2a8b0..92fe8e600e 100644 --- python-di/python-di.spec +++ python-di/python-di.spec.tmp @@ -5,7 +5,7 @@ Name: python-di Version: 0.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python library for dependency injection support License: GPLv2+ @@ -22,13 +22,21 @@ BuildRequires: python-nose BuildRequires: python2-devel BuildArch: noarch -%description -This python package provides a "di" module. The module contains a couple of -decorators which try to implement the Dependency Injection (IoC) pattern -without requiring the user to change local variables in his methods. - +%global _description\ +This python package provides a "di" module. The module contains a couple of\ +decorators which try to implement the Dependency Injection (IoC) pattern\ +without requiring the user to change local variables in his methods.\ +\ It is intended to be used in unit testing environments. +%description %_description + +%package -n python2-di +Summary: %summary +%{?python_provide:%python_provide python2-di} + +%description -n python2-di %_description + %prep %setup -q -n di-%{version} @@ -45,13 +53,17 @@ rm -rf ${buildroot}%{python_sitelib}/setuptools/tests %check %{__python} setup.py nosetests -%files +%files -n python2-di %{python_sitelib}/di %{python_sitelib}/di-*.egg-info %doc README COPYING %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3-10 +- Python 2 binary package renamed to python2-di + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild