diff --git python-mwlib-docbook/python-mwlib-docbook.spec python-mwlib-docbook/python-mwlib-docbook.spec.tmp index bc940933b5..2530caadc0 100644 --- python-mwlib-docbook/python-mwlib-docbook.spec +++ python-mwlib-docbook/python-mwlib-docbook.spec.tmp @@ -2,7 +2,7 @@ Name: python-mwlib-docbook Version: 0.1.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: DocBook writer for mwlib License: BSD @@ -12,14 +12,22 @@ Source0: http://pypi.python.org/packages/source/m/%{module_name}/%{module BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools + +%global _description\ +mwlib provides a library for parsing MediaWiki articles and converting them to\ +different output formats. This package contains the necessary code to output\ +articles in DocBook format.\ + + +%description %_description + +%package -n python2-mwlib-docbook +Summary: %summary Requires: python-mwlib Requires: python-mwlib-xhtml +%{?python_provide:%python_provide python2-mwlib-docbook} -%description -mwlib provides a library for parsing MediaWiki articles and converting them to -different output formats. This package contains the necessary code to output -articles in DocBook format. - +%description -n python2-mwlib-docbook %_description %prep %setup -qn %{module_name}-%{version} @@ -36,12 +44,16 @@ chmod a-x mwlib/*.py %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-mwlib-docbook %{python_sitelib}/%{module_name}-* %{python_sitelib}/mwlib/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.1.0-13 +- Python 2 binary package renamed to python2-mwlib-docbook + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild