diff --git python-simplemediawiki/python-simplemediawiki.spec python-simplemediawiki/python-simplemediawiki.spec.tmp index 8e32d43d85..9f8105aa47 100644 --- python-simplemediawiki/python-simplemediawiki.spec +++ python-simplemediawiki/python-simplemediawiki.spec.tmp @@ -7,7 +7,7 @@ Name: python-%{tarball_name} Version: 1.2.0 -Release: 0.10.b2%{?dist} +Release: 0.11.b2%{?dist} Summary: Extremely low-level wrapper to the MediaWiki API License: LGPLv2+ @@ -16,17 +16,25 @@ Source0: http://pypi.python.org/packages/source/s/%{tarball_name}/%{tarba BuildArch: noarch BuildRequires: python2-devel python-kitchen python-nose python-sphinx -Requires: python-kitchen python-sphinx %if 0%{?with_python3} BuildRequires: python3-devel python3-nose python3-sphinx %endif -%description -The module simplemediawiki is an extremely low-level wrapper to the MediaWiki -API. It automatically handles cookies and g zip compression so that you can -make basic calls to the API in the easiest way possible. It also provides a +%global _description\ +The module simplemediawiki is an extremely low-level wrapper to the MediaWiki\ +API. It automatically handles cookies and g zip compression so that you can\ +make basic calls to the API in the easiest way possible. It also provides a\ few functions to make day-to-day API access easier. +%description %_description + +%package -n python2-%{tarball_name} +Summary: %summary +Requires: python-kitchen python-sphinx +%{?python_provide:%python_provide python2-%{tarball_name}} + +%description -n python2-%{tarball_name} %_description + %if 0%{?with_python3} %package -n python3-%{tarball_name} Summary: Extremely low-level wrapper to the MediaWiki API @@ -66,7 +74,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-%{tarball_name} %doc COPYING PKG-INFO README build/sphinx/html %{python_sitelib}/* @@ -77,6 +85,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.2.0-0.11.b2 +- Python 2 binary package renamed to python2-simplemediawiki + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-0.10.b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild