diff --git python-djvulibre/python-djvulibre.spec python-djvulibre/python-djvulibre.spec.tmp index f529cf3bf4..a1cd662e2d 100644 --- python-djvulibre/python-djvulibre.spec +++ python-djvulibre/python-djvulibre.spec.tmp @@ -9,7 +9,7 @@ Name: python-djvulibre Version: 0.3.9 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python bindings for the DjVuLibre library Group: Development/Libraries @@ -30,10 +30,18 @@ BuildRequires: python-sphinx10 BuildRequires: python-sphinx >= 1.0 %endif -%description -python-djvulibre is a set of Python bindings for the DjVuLibre library, an open +%global _description\ +python-djvulibre is a set of Python bindings for the DjVuLibre library, an open\ source implementation of DjVu +%description %_description + +%package -n python2-djvulibre +Summary: %summary +%{?python_provide:%python_provide python2-djvulibre} + +%description -n python2-djvulibre %_description + %package doc Summary: Documentation for python-djvulibre Group: Documentation @@ -68,7 +76,7 @@ sed -i 's/\r$//' build/sphinx/html/_static/jquery.js %check LC_ALL='en_US.UTF-8' %{__python2} setup.py nosetests -%files +%files -n python2-djvulibre # For arch-specific packages: sitearch %doc COPYING doc/changelog doc/credits.txt %{python2_sitearch}/* @@ -77,6 +85,10 @@ LC_ALL='en_US.UTF-8' %{__python2} setup.py nosetests %doc build/sphinx/html/* examples %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.3.9-11 +- Python 2 binary package renamed to python2-djvulibre + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.3.9-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild