diff --git python-mwlib/python-mwlib.spec python-mwlib/python-mwlib.spec.tmp index 760a0a45f7..1e6039acae 100644 --- python-mwlib/python-mwlib.spec +++ python-mwlib/python-mwlib.spec.tmp @@ -7,7 +7,7 @@ Name: python-%{module_name} Version: 0.15.14 -Release: 9%{?dist} +Release: 10%{?dist} Summary: MediaWiki parser and utility library License: BSD @@ -45,28 +45,36 @@ BuildRequires: python-simplejson >= 2.3 BuildRequires: python-sqlite3dbm BuildRequires: python-roman BuildRequires: pytest -Requires: odfpy >= 0.9 -Requires: pyPdf >= 1.12 -Requires: pyparsing >= 1.4.11 -Requires: python-apipkg >= 1.2 -Requires: python-bottle >= 0.10 -Requires: python-dateutil -Requires: python-docutils -Requires: python-gevent -Requires: python-lxml -Requires: python-pillow -Requires: python-py >= 1.4 -Requires: python-qserve >= 0.2.7 -Requires: python-setuptools -Requires: python-simplejson >= 2.3 -Requires: python-sqlite3dbm -Requires: python-roman -%description -mwlib provides a library for parsing MediaWiki articles and converting them to -different output formats. mwlib is used by Wikipedia's "Print/export" feature -in order to generate PDF documents from Wikipedia articles. +%global _description\ +mwlib provides a library for parsing MediaWiki articles and converting them to\ +different output formats. mwlib is used by Wikipedia's "Print/export" feature\ +in order to generate PDF documents from Wikipedia articles.\ + + +%description %_description +%package -n python2-%{module_name} +Summary: %summary +Requires: python-roman +Requires: python-sqlite3dbm +Requires: python-simplejson >= 2.3 +Requires: python-setuptools +Requires: python-qserve >= 0.2.7 +Requires: python-py >= 1.4 +Requires: python-pillow +Requires: python-lxml +Requires: python-gevent +Requires: python-docutils +Requires: python-dateutil +Requires: python-bottle >= 0.10 +Requires: python-apipkg >= 1.2 +Requires: pyparsing >= 1.4.11 +Requires: pyPdf >= 1.12 +Requires: odfpy >= 0.9 +%{?python_provide:%python_provide python2-%{module_name}} + +%description -n python2-%{module_name} %_description %prep %setup -qn %{module_name}-%{version} @@ -116,7 +124,7 @@ PATH=%{buildroot}%{_bindir}:$PATH \ rm %{buildroot}%{python2_sitearch}/mwlib/__init__.py -%files +%files -n python2-%{module_name} %doc changelog.rst README.rst README.fedora docs %{python_sitearch}/* %{_bindir}/mw-* @@ -124,6 +132,10 @@ rm %{buildroot}%{python2_sitearch}/mwlib/__init__.py %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.15.14-10 +- Python 2 binary package renamed to python2-mwlib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.15.14-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild