diff --git python-lzo/python-lzo.spec python-lzo/python-lzo.spec.tmp index f00b8907c4..a64dfd169b 100644 --- python-lzo/python-lzo.spec +++ python-lzo/python-lzo.spec.tmp @@ -7,7 +7,7 @@ Summary: LZO bindings for Python Name: python-lzo Version: 1.09 -Release: 7%{?dist} +Release: 8%{?dist} Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz URL: http://www.oberhumer.com/opensource/lzo/ License: GPLv2+ @@ -21,10 +21,17 @@ BuildRequires: python3-setuptools BuildRequires: python3-devel %endif +%global _description\ +Python-LZO provides Python bindings for the LZO data compression library. + +%description %_description + +%package -n python2-lzo +Summary: %summary Provides: python2-lzo +%{?python_provide:%python_provide python2-lzo} -%description -Python-LZO provides Python bindings for the LZO data compression library. +%description -n python2-lzo %_description %if 0%{?with_python3} %package -n python3-lzo @@ -74,7 +81,7 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch} %{__python3} ./test.py popd %endif -%files +%files -n python2-lzo %{!?_licensedir:%global license %%doc} %license COPYING %doc NEWS @@ -87,6 +94,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.09-8 +- Python 2 binary package renamed to python2-lzo + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.09-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild