diff --git python-tracing/python-tracing.spec python-tracing/python-tracing.spec.tmp index 41390828ad..4c6d9fbab2 100644 --- python-tracing/python-tracing.spec +++ python-tracing/python-tracing.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pkgname} Version: 0.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python debug logging helper License: GPLv3+ @@ -12,19 +12,27 @@ Source0: http://code.liw.fi/debian/pool/main/p/%{name}/%{name}_%{version} BuildArch: noarch BuildRequires: python-sphinx -%description -The Python library tracing helps with logging debug messages. It -provides a couple of functions for logging debug messages, and allows -the user to enable or disable logging for particular code modules. +%global _description\ +The Python library tracing helps with logging debug messages. It\ +provides a couple of functions for logging debug messages, and allows\ +the user to enable or disable logging for particular code modules.\ +\ +It is sometimes practical to add a lot of debugging log messages to a\ +program, but having them enabled all the time results in very large\ +log files. Also, logging that much takes quite a bit of time.\ +\ +This module provides a way to turn such debugging or tracing messages\ +on and off, based on the filename they occur in. The logging can that\ +be left in the code, and only enabled when it is needed.\ -It is sometimes practical to add a lot of debugging log messages to a -program, but having them enabled all the time results in very large -log files. Also, logging that much takes quite a bit of time. -This module provides a way to turn such debugging or tracing messages -on and off, based on the filename they occur in. The logging can that -be left in the code, and only enabled when it is needed. +%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} @@ -49,7 +57,7 @@ make -C doc html %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-%{pkgname} %doc NEWS README %license COPYING %{python_sitelib}/* @@ -59,6 +67,10 @@ make -C doc html %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9-4 +- Python 2 binary package renamed to python2-tracing + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild