diff --git a/python-humanize.spec b/python-humanize.spec index d9993ba..5b3c80f 100644 --- a/python-humanize.spec +++ b/python-humanize.spec @@ -14,7 +14,7 @@ Name: python-humanize Version: 0.5.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Turns dates in to human readable format, e.g '3 minutes ago' License: MIT @@ -31,11 +31,19 @@ BuildRequires: python3-tools %endif -%description -This modest package contains various common humanization utilities, like turning -a number into a fuzzy human readable duration ('3 minutes ago') or into a human -readable size or throughput. +%global _description\ +This modest package contains various common humanization utilities, like turning\ +a number into a fuzzy human readable duration ('3 minutes ago') or into a human\ +readable size or throughput.\ + +%description %_description + +%package -n python2-humanize +Summary: %summary +%{?python_provide:%python_provide python2-humanize} + +%description -n python2-humanize %_description %if 0%{?with_python3} %package -n python3-humanize @@ -101,7 +109,7 @@ popd %endif %endif -%files -f humanize.lang +%files -n python2-humanize -f humanize.lang %doc README.rst LICENCE %dir %{python2_sitelib}/humanize %{python2_sitelib}/humanize/*.py* @@ -123,6 +131,10 @@ popd %endif %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.5.1-9 +- Python 2 binary package renamed to python2-humanize + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild