diff --git python-wordpress-xmlrpc/python-wordpress-xmlrpc.spec python-wordpress-xmlrpc/python-wordpress-xmlrpc.spec.tmp index d315d67567..8c22edb46c 100644 --- python-wordpress-xmlrpc/python-wordpress-xmlrpc.spec +++ python-wordpress-xmlrpc/python-wordpress-xmlrpc.spec.tmp @@ -9,7 +9,7 @@ Name: python-wordpress-xmlrpc Version: 2.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: WordPress XML-RPC API Integration Library License: BSD @@ -20,17 +20,25 @@ BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools -%description -Python library to interface with a WordPress blog's XML-RPC API. +%global _description\ +Python library to interface with a WordPress blog's XML-RPC API.\ +\ +An implementation of the standard WordPress API methods is provided, but the\ +library is designed for easy integration with custom XML-RPC API methods\ +provided by plugins.\ +\ +A set of classes are provided that wrap the standard WordPress data types\ +(e.g., Blog, Post, User). The provided method implementations return these\ +objects when possible.\ -An implementation of the standard WordPress API methods is provided, but the -library is designed for easy integration with custom XML-RPC API methods -provided by plugins. -A set of classes are provided that wrap the standard WordPress data types -(e.g., Blog, Post, User). The provided method implementations return these -objects when possible. +%description %_description +%package -n python2-wordpress-xmlrpc +Summary: %summary +%{?python_provide:%python_provide python2-wordpress-xmlrpc} + +%description -n python2-wordpress-xmlrpc %_description %if 0%{?with_python3} %package -n python3-wordpress-xmlrpc @@ -89,7 +97,7 @@ popd %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-wordpress-xmlrpc %doc LICENSE README.rst wp-config-sample.cfg %{python2_sitelib}/wordpress_xmlrpc %{python2_sitelib}/python_wordpress_xmlrpc-%{version}-py%{python2_version}.egg-info @@ -100,6 +108,10 @@ popd %{python3_sitelib}/python_wordpress_xmlrpc-%{version}-py%{python3_version}.egg-info %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 2.3-9 +- Python 2 binary package renamed to python2-wordpress-xmlrpc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild