diff --git python-openoffice/python-openoffice.spec python-openoffice/python-openoffice.spec.tmp index e349ef65b0..d6082c82f6 100644 --- python-openoffice/python-openoffice.spec +++ python-openoffice/python-openoffice.spec.tmp @@ -10,7 +10,7 @@ Name: python-%{module} Version: 0.1 -Release: 0.22.%{snapdate}%{?dist} +Release: 0.23.%{snapdate}%{?dist} Summary: Python libraries for interacting with LibreOffice Group: Development/Languages License: GPLv3 @@ -25,13 +25,21 @@ BuildRequires: python2-devel %if 0%{?with_python3} BuildRequires: python3-devel %endif # if with_python3 -Requires: libreoffice-pyuno -%description -The library is designed to supports both writing Macros (called by OOo) and -interacting with OOo from an external Python program (using the UNO bridge). +%global _description\ +The library is designed to supports both writing Macros (called by OOo) and\ +interacting with OOo from an external Python program (using the UNO bridge).\ + +%description %_description + +%package -n python2-%{module} +Summary: %summary +Requires: libreoffice-pyuno +%{?python_provide:%python_provide python2-%{module}} + +%description -n python2-%{module} %_description %if 0%{?with_python3} %package -n python3-%{module} @@ -81,7 +89,7 @@ popd %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-%{module} %doc COPYING LICENSE-gpl-3.0.txt README sample-scripts %{python_sitelib}/* @@ -93,6 +101,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.1-0.23.20110209 +- Python 2 binary package renamed to python2-openoffice + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1-0.22.20110209 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild