diff --git python-mwlib-xhtml/python-mwlib-xhtml.spec python-mwlib-xhtml/python-mwlib-xhtml.spec.tmp
index 2ce819a7c0..8f8d44ad5f 100644
--- python-mwlib-xhtml/python-mwlib-xhtml.spec
+++ python-mwlib-xhtml/python-mwlib-xhtml.spec.tmp
@@ -2,7 +2,7 @@
Name: python-mwlib-xhtml
Version: 0.1.0
-Release: 12%{?dist}
+Release: 13%{?dist}
Summary: XHTML writer for mwlib
License: BSD
@@ -12,13 +12,21 @@ Source0: http://pypi.python.org/packages/source/m/%{module_name}/%{module
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
-Requires: python-mwlib
-%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 XHTML format.
+%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 XHTML format.\
+
+
+%description %_description
+%package -n python2-mwlib-xhtml
+Summary: %summary
+Requires: python-mwlib
+%{?python_provide:%python_provide python2-mwlib-xhtml}
+
+%description -n python2-mwlib-xhtml %_description
%prep
%setup -qn %{module_name}-%{version}
@@ -35,12 +43,16 @@ chmod a-x mwlib/*.py
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-%files
+%files -n python2-mwlib-xhtml
%{python_sitelib}/%{module_name}-*
%{python_sitelib}/mwlib/*
%changelog
+* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.0-13
+- Python 2 binary package renamed to python2-mwlib-xhtml
+ 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