diff --git python-roman/python-roman.spec python-roman/python-roman.spec.tmp index f94a9600b3..36b69de0df 100644 --- python-roman/python-roman.spec +++ python-roman/python-roman.spec.tmp @@ -9,7 +9,7 @@ Name: python-%{pypi_name} Version: 2.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Integer to Roman numerals converter License: Python @@ -25,9 +25,17 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description +%global _description\ Integer to Roman numerals converter +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if %{with python3} %package -n python3-%{pypi_name} Summary: Integer to Roman numerals converter @@ -73,7 +81,7 @@ cp -a . %{py3dir} %{__python2} setup.py test -%files +%files -n python2-%{pypi_name} %doc %{python2_sitelib}/%{pypi_name}.py* @@ -87,6 +95,10 @@ cp -a . %{py3dir} %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.0.0-9 +- Python 2 binary package renamed to python2-roman + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild