diff --git a/python-sparklines.spec b/python-sparklines.spec index 8d5cb4309a..0b1c4fa113 100644 --- a/python-sparklines.spec +++ b/python-sparklines.spec @@ -3,7 +3,7 @@ Name: python-sparklines Version: 0.9 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A unicode sparkline generation library Group: Development/Libraries @@ -15,15 +15,23 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-setuptools + +%global _description\ +Takes series data via stdin, command line, or API and prints a sparkline\ +representation. + +%description %_description + +%package -n python2-sparklines +Summary: %summary +Requires: python-setuptools %if 0%{?rhel} && 0%{?rhel} <= 6 Requires: python-argparse %endif +%{?python_provide:%python_provide python2-sparklines} -%description -Takes series data via stdin, command line, or API and prints a sparkline -representation. +%description -n python2-sparklines %_description %prep %setup -q -n %{distname}-%{version} @@ -40,7 +48,7 @@ rm -rf %{distname}.egg-info install -d -m 0755 %{buildroot}%{_mandir}/man1 install -m 0644 man/sparkline.1 %{buildroot}%{_mandir}/man1/sparkline.1 -%files +%files -n python2-sparklines %doc README.rst LICENSE %{python_sitelib}/%{modname}/ %{python_sitelib}/%{distname}-%{version}* @@ -48,6 +56,10 @@ install -m 0644 man/sparkline.1 %{buildroot}%{_mandir}/man1/sparkline.1 %{_mandir}/man1/sparkline.1* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.9-9 +- Python 2 binary package renamed to python2-sparklines + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild