diff --git python-logbook/python-logbook.spec python-logbook/python-logbook.spec.tmp index 0b1f1c6c6a..e8d61fadcc 100644 --- python-logbook/python-logbook.spec +++ python-logbook/python-logbook.spec.tmp @@ -15,7 +15,7 @@ Name: python-logbook Version: 1.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A logging replacement for Python Group: Development/Libraries @@ -32,14 +32,22 @@ BuildRequires: python3-sqlalchemy python3-zmq %endif BuildRequires: python-setuptools -%description -Logbook is a logging system for Python that replaces the standard library’s -logging module. It was designed with both complex and simple applications -and mind and the idea to make logging fun. What makes it fun? What about -getting log messages on your phone or desktop notification system? -Logbook can do that. +%global _description\ +Logbook is a logging system for Python that replaces the standard library’s\ +logging module. It was designed with both complex and simple applications\ +and mind and the idea to make logging fun. What makes it fun? What about\ +getting log messages on your phone or desktop notification system?\ +Logbook can do that.\ +%description %_description + +%package -n python2-logbook +Summary: %summary +%{?python_provide:%python_provide python2-logbook} + +%description -n python2-logbook %_description + %if 0%{?with_python3} %package -n python3-logbook Summary: A logging replacement for Python 3 @@ -95,7 +103,7 @@ popd #popd #%endif # with_python3 -%files +%files -n python2-logbook %doc CHANGES %{python2_sitearch}/logbook* #%%exclude %%{python2_sitearch}/logbook/testsuite @@ -110,6 +118,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.0-7 +- Python 2 binary package renamed to python2-logbook + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild