diff --git python-ttystatus/python-ttystatus.spec python-ttystatus/python-ttystatus.spec.tmp index 9dff384b1a..336cadc2b8 100644 --- python-ttystatus/python-ttystatus.spec +++ python-ttystatus/python-ttystatus.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pkgname} Version: 0.34 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Progress and status updates on terminals for Python License: GPLv3+ @@ -14,19 +14,27 @@ BuildRequires: python-coverage-test-runner BuildRequires: python-pep8 BuildRequires: python-sphinx -%description -ttystatus is a Python library for showing progress reporting and -status updates on terminals, for (Unix) command line programs. Output -is automatically adapted to the width of the terminal: truncated if it -does not fit, and re-sized if the terminal size changes. +%global _description\ +ttystatus is a Python library for showing progress reporting and\ +status updates on terminals, for (Unix) command line programs. Output\ +is automatically adapted to the width of the terminal: truncated if it\ +does not fit, and re-sized if the terminal size changes.\ +\ +Output is provided via widgets. Each widgets formats some data into a\ +suitable form for output. It gets the data either via its initializer,\ +or from key/value pairs maintained by the master object. The values\ +are set by the user. Every time a value is updated, widgets get\ +updated (although the terminal is only updated every so often to give\ +user time to actually read the output).\ -Output is provided via widgets. Each widgets formats some data into a -suitable form for output. It gets the data either via its initializer, -or from key/value pairs maintained by the master object. The values -are set by the user. Every time a value is updated, widgets get -updated (although the terminal is only updated every so often to give -user time to actually read the output). +%description %_description + +%package -n python2-%{pkgname} +Summary: %summary +%{?python_provide:%python_provide python2-%{pkgname}} + +%description -n python2-%{pkgname} %_description %package doc Summary: Documentation for %{pkgname} @@ -58,7 +66,7 @@ rm -rf build make check -%files +%files -n python2-%{pkgname} %license COPYING %doc NEWS README %{python_sitelib}/* @@ -68,6 +76,10 @@ make check %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.34-4 +- Python 2 binary package renamed to python2-ttystatus + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.34-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild