diff --git python-flexmock/python-flexmock.spec python-flexmock/python-flexmock.spec.tmp index a83d6a8fef..4dca292e5a 100644 --- python-flexmock/python-flexmock.spec +++ python-flexmock/python-flexmock.spec.tmp @@ -2,7 +2,7 @@ Name: python-flexmock Version: 0.10.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Testing library that makes it easy to create mocks, stubs and fakes License: BSD @@ -28,14 +28,22 @@ BuildRequires: python3-pytest %endif -%description -Flexmock is a testing library for Python that makes it easy to create mocks, -stubs and fakes. The API is inspired by a Ruby library of the same name, but -Python flexmock is not a clone of the Ruby version. It omits a number of -redundancies in the Ruby flexmock API, alters some defaults, and introduces -a number of Python-only features. +%global _description\ +Flexmock is a testing library for Python that makes it easy to create mocks,\ +stubs and fakes. The API is inspired by a Ruby library of the same name, but\ +Python flexmock is not a clone of the Ruby version. It omits a number of\ +redundancies in the Ruby flexmock API, alters some defaults, and introduces\ +a number of Python-only features.\ +%description %_description + +%package -n python2-flexmock +Summary: %summary +%{?python_provide:%python_provide python2-flexmock} + +%description -n python2-flexmock %_description + %if 0%{?with_python3} %package -n python3-flexmock Summary: Testing library that makes it easy to create mocks, stubs and fakes @@ -87,7 +95,7 @@ PYEXECS=%{__python3} ./tests/run_tests.sh %endif -%files +%files -n python2-flexmock %doc LICENSE README.rst CHANGELOG docs/ %{python_sitelib}/* %if 0%{?with_python3} @@ -99,6 +107,10 @@ PYEXECS=%{__python3} ./tests/run_tests.sh %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.10.2-7 +- Python 2 binary package renamed to python2-flexmock + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild