diff --git python-wikitools/python-wikitools.spec python-wikitools/python-wikitools.spec.tmp index 27ef780ae0..865f78d917 100644 --- python-wikitools/python-wikitools.spec +++ python-wikitools/python-wikitools.spec.tmp @@ -7,7 +7,7 @@ Summary: Python package for interacting with a MediaWiki wiki Name: python-%{shortname} Version: 1.3 -Release: 5%{?dist} +Release: 6%{?dist} Url: https://github.com/alexz-enwp/%{shortname} Source0: https://github.com/alexz-enwp/%{shortname}/archive/%{version}/%{shortname}-%{version}.tar.gz Patch0: %{name}-oldversion.patch @@ -15,14 +15,22 @@ License: GPLv3+ Group: Development/Libraries BuildArch: noarch BuildRequires: python2-devel -Requires: python -%description -A Python package for interacting with a MediaWiki wiki using the MediaWiki API. -Designed for MediaWiki version 1.16 and higher, should work on 1.13, older -versions may have bugs. +%global _description\ +A Python package for interacting with a MediaWiki wiki using the MediaWiki API.\ +Designed for MediaWiki version 1.16 and higher, should work on 1.13, older\ +versions may have bugs.\ The edit-API must be enabled on the site to use editing features. +%description %_description + +%package -n python2-%{shortname} +Summary: %summary +Requires: python +%{?python_provide:%python_provide python2-%{shortname}} + +%description -n python2-%{shortname} %_description + %prep %setup -q -n %{shortname}-%{version} %patch0 -p1 -b .oldversion @@ -33,12 +41,16 @@ The edit-API must be enabled on the site to use editing features. %install %{__python} setup.py install -O1 --root=$RPM_BUILD_ROOT -%files +%files -n python2-%{shortname} %doc %{shortname}/COPYING README.md CHANGELOG %{python2_sitelib}/%{shortname} %{python2_sitelib}/%{shortname}-%{version}-py2.*.egg-info %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.3-6 +- Python 2 binary package renamed to python2-wikitools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild