diff --git python-tbgrep/python-tbgrep.spec python-tbgrep/python-tbgrep.spec.tmp index e9e4b33f89..92f91beacc 100644 --- python-tbgrep/python-tbgrep.spec +++ python-tbgrep/python-tbgrep.spec.tmp @@ -6,7 +6,7 @@ Name: python-tbgrep Version: 0.3.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Extract Python Tracebacks from text Group: Development/Libraries @@ -25,18 +25,26 @@ BuildRequires: python3-devel BuildRequires: python3-nose %endif -%description -A module & command-line tool for extracting Python tracebacks from text. +%global _description\ +A module & command-line tool for extracting Python tracebacks from text.\ +\ + $ tbgrep file1 file2 file3\ + $ tail -f logfile | tbgrep\ +\ +tbgrep can extract tracebacks from logs of various formats. For example,\ +CherryPy starts the traceback on a line with other details (like module,\ +timestamp, etc), but the rest of the trace starts at the beginning of the\ +line. Apache logs, on the other hand, will prefix each line of the\ +traceback with this information. tbgrep is designed to these kinds of\ +situations - $ tbgrep file1 file2 file3 - $ tail -f logfile | tbgrep +%description %_description -tbgrep can extract tracebacks from logs of various formats. For example, -CherryPy starts the traceback on a line with other details (like module, -timestamp, etc), but the rest of the trace starts at the beginning of the -line. Apache logs, on the other hand, will prefix each line of the -traceback with this information. tbgrep is designed to these kinds of -situations +%package -n python2-tbgrep +Summary: %summary +%{?python_provide:%python_provide python2-tbgrep} + +%description -n python2-tbgrep %_description %if 0%{?with_python3} %package -n python3-tbgrep @@ -94,7 +102,7 @@ popd %endif -%files +%files -n python2-tbgrep %doc README.rst LICENSE %{python_sitelib}/%{modname} %{python_sitelib}/%{modname}-%{version}* @@ -110,6 +118,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3.0-10 +- Python 2 binary package renamed to python2-tbgrep + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild