diff --git python-profilehooks/python-profilehooks.spec python-profilehooks/python-profilehooks.spec.tmp index 4638e685e6..33f609b7fc 100644 --- python-profilehooks/python-profilehooks.spec +++ python-profilehooks/python-profilehooks.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 1.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Decorators for profiling/timing/tracing individual functions License: MIT @@ -20,9 +20,17 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # if with_python3 -%description -Profilehooks is a collection of decorators for profiling functions. +%global _description\ +Profilehooks is a collection of decorators for profiling functions.\ + + +%description %_description +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -77,7 +85,7 @@ make test PYTHON=%{__python3} %endif -%files +%files -n python2-%{pypi_name} %doc README.rst CHANGES.rst %{python_sitelib}/%{pypi_name}.py* %{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -92,6 +100,10 @@ make test PYTHON=%{__python3} %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.9.0-4 +- Python 2 binary package renamed to python2-profilehooks + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild