diff --git python-kgb/python-kgb.spec python-kgb/python-kgb.spec.tmp index d101b9c33e..b1f2f77400 100644 --- python-kgb/python-kgb.spec +++ python-kgb/python-kgb.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{packagename} Version: 0.5.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Utilities for spying on function calls in unit tests License: MIT @@ -14,12 +14,20 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description -Spies intercept and record calls to functions. They can report on how many -times a function was called and with what arguments. They can allow the -function call to go through as normal, to block it, or to reroute it to another +%global _description\ +Spies intercept and record calls to functions. They can report on how many\ +times a function was called and with what arguments. They can allow the\ +function call to go through as normal, to block it, or to reroute it to another\ function. +%description %_description + +%package -n python2-%{packagename} +Summary: %summary +%{?python_provide:%python_provide python2-%{packagename}} + +%description -n python2-%{packagename} %_description + %prep %setup -q -n %{packagename}-%{version} rm -Rf kgb*.egg-info @@ -35,12 +43,16 @@ rm -Rf kgb*.egg-info %check %{__python2} setup.py test -s kgb.tests -%files +%files -n python2-%{packagename} %doc AUTHORS NEWS README.md %{python2_sitelib}/kgb*.egg-info/ %{python2_sitelib}/kgb/ %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5.1-7 +- Python 2 binary package renamed to python2-kgb + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild