diff --git a/python-docx.spec b/python-docx.spec index 92a8bf3..23d25d3 100644 --- a/python-docx.spec +++ b/python-docx.spec @@ -31,7 +31,8 @@ BuildRequires: pytest %if 0%{?with_python3} %package -n python3-%{pname} Summary: Create and update Microsoft Word .docx files - +Requires: python3-lxml +%{?python_provide:%python_provide python3-%{pname}} BuildRequires: python3-devel BuildRequires: python3-lxml #Testing requirements @@ -58,7 +59,6 @@ Python library for creating and updating Microsoft Word (.docx) files. %package -n python2-%{pname} Summary: %summary Requires: python2-lxml -Requires: python3-lxml %{?python_provide:%python_provide python2-%{pname}} %description -n python2-%{pname} %_description @@ -108,6 +108,8 @@ behave --stop * Tue Jan 30 2018 Iryna Shcherbina - 0.8.5-11 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) +- Move python3-lxml form py2 to py3 subpkg +- Add python_provide to py3 subpackage * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.8.5-10 - Python 2 binary package renamed to python2-docx