diff --git python-ipaddr/python-ipaddr.spec python-ipaddr/python-ipaddr.spec.tmp index 3a23cec191..56b441ff13 100644 --- python-ipaddr/python-ipaddr.spec +++ python-ipaddr/python-ipaddr.spec.tmp @@ -1,6 +1,6 @@ Name: python-ipaddr Version: 2.1.10 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A python library for working with IP addresses, both IPv4 and IPv6 Group: Development/Languages @@ -11,10 +11,18 @@ Source0: http://ipaddr-py.googlecode.com/files/ipaddr-%{version}.tar.gz BuildArch: noarch BuildRequires: python-devel -%description -python-ipaddr is a library for working with IP addresses, both IPv4 and IPv6. +%global _description\ +python-ipaddr is a library for working with IP addresses, both IPv4 and IPv6.\ It was developed by Google for internal use, and is now open source. +%description %_description + +%package -n python2-ipaddr +Summary: %summary +%{?python_provide:%python_provide python2-ipaddr} + +%description -n python2-ipaddr %_description + %prep %setup -q -n ipaddr-%{version} # remove unneeded shebang @@ -29,13 +37,17 @@ rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-ipaddr %defattr(-,root,root,-) %doc COPYING README RELEASENOTES %{python_sitelib}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 2.1.10-8 +- Python 2 binary package renamed to python2-ipaddr + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild