diff --git python-poppler-qt4/python-poppler-qt4.spec python-poppler-qt4/python-poppler-qt4.spec.tmp index 41040e67b5..131bf462f8 100644 --- python-poppler-qt4/python-poppler-qt4.spec +++ python-poppler-qt4/python-poppler-qt4.spec.tmp @@ -2,14 +2,13 @@ Name: python-poppler-qt4 Version: 0.18.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python bindings for the Poppler PDF rendering library Group: Applications/Publishing License: LGPLv2+ URL: http://code.google.com/p/%{name}/ Source0: http://python-poppler-qt4.googlecode.com/files/%{name}-%{version}.tar.gz -Requires: PyQt4 %{?_sip_api:Requires: sip-api(%{_sip_api_major}) >= %{_sip_api}} BuildRequires: python2-devel BuildRequires: PyQt4-devel @@ -22,10 +21,19 @@ BuildRequires: sip-devel >= 4.9.1 %filter_setup } -%description -Python bindings for the Poppler PDF rendering library. It is needed to -run programs written in Python and using Poppler set. +%global _description\ +Python bindings for the Poppler PDF rendering library. It is needed to\ +run programs written in Python and using Poppler set.\ + +%description %_description + +%package -n python2-poppler-qt4 +Summary: %summary +Requires: PyQt4 +%{?python_provide:%python_provide python2-poppler-qt4} + +%description -n python2-poppler-qt4 %_description %if 0%{?with_python3} %package -n python3-poppler-qt4 @@ -75,7 +83,7 @@ popd %{__python2} setup.py install --skip-build --root=%{buildroot} -%files +%files -n python2-poppler-qt4 %doc ChangeLog LICENSE TODO README %{python2_sitearch}/popplerqt4.so %{python2_sitearch}/python_poppler* @@ -89,6 +97,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.18.1-13 +- Python 2 binary package renamed to python2-poppler-qt4 + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.18.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild