diff --git python-pydns/python-pydns.spec python-pydns/python-pydns.spec.tmp index 870ee6af9a..158688bb8b 100644 --- python-pydns/python-pydns.spec +++ python-pydns/python-pydns.spec.tmp @@ -2,7 +2,7 @@ Name: python-pydns Version: 2.3.6 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python module for DNS (Domain Name Service) Group: Development/Languages @@ -15,15 +15,23 @@ Patch0: pydns_timeout.patch BuildArch: noarch BuildRequires: python2-devel -%description -This is a another release of the pydns code, as originally written by -Guido van Rossum, and with a hopefully nicer API bolted over the -top of it by Anthony Baxter . - -This package contains a module (dnslib) that implements a DNS -(Domain Name Server) client, plus additional modules that define some +%global _description\ +This is a another release of the pydns code, as originally written by\ +Guido van Rossum, and with a hopefully nicer API bolted over the\ +top of it by Anthony Baxter .\ +\ +This package contains a module (dnslib) that implements a DNS\ +(Domain Name Server) client, plus additional modules that define some\ symbolic constants used by DNS (dnstype, dnsclass, dnsopcode). +%description %_description + +%package -n python2-pydns +Summary: %summary +%{?python_provide:%python_provide python2-pydns} + +%description -n python2-pydns %_description + %prep %setup -q -n %{namewithoutpythonprefix}-%{version} @@ -49,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-pydns %defattr(-,root,root,-) %doc CREDITS.txt PKG-INFO README-guido.txt README.txt %dir %{python_sitelib}/DNS @@ -57,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/pydns-%{version}-py*.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 2.3.6-9 +- Python 2 binary package renamed to python2-pydns + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.3.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild