diff --git python-jsonrpclib/python-jsonrpclib.spec python-jsonrpclib/python-jsonrpclib.spec.tmp index 5bfa10d5b9..ebc18c5067 100644 --- python-jsonrpclib/python-jsonrpclib.spec +++ python-jsonrpclib/python-jsonrpclib.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.1.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: JSON-RPC v2.0 client library for Python License: ASL 2.0 @@ -13,11 +13,19 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -%description -This project is an implementation of the JSON-RPC v2.0 specification -(backwards-compatible) as a client library. +%global _description\ +This project is an implementation of the JSON-RPC v2.0 specification\ +(backwards-compatible) as a client library.\ +%description %_description + +%package -n python2-%{srcname} +Summary: %summary +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description + %prep %setup -q -n %{srcname}-%{version} @@ -30,7 +38,7 @@ This project is an implementation of the JSON-RPC v2.0 specification %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-%{srcname} %license LICENSE.txt %doc README.md %{python2_sitelib}/%{srcname} @@ -38,6 +46,10 @@ This project is an implementation of the JSON-RPC v2.0 specification %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.1.7-5 +- Python 2 binary package renamed to python2-jsonrpclib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild