diff --git python-txrequests/python-txrequests.spec python-txrequests/python-txrequests.spec.tmp index 9dde77cf10..ce5f2f133c 100644 --- python-txrequests/python-txrequests.spec +++ python-txrequests/python-txrequests.spec.tmp @@ -15,7 +15,7 @@ Name: python-txrequests Version: 0.9.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Asynchronous Python HTTP for Humans Group: Development/Libraries @@ -36,14 +36,21 @@ BuildRequires: python3-requests BuildRequires: python3-twisted-core %endif +%global _description\ +This is a small add-on for the python requests HTTP library. It makes use\ +twisted's ThreadPool, so that requests' API returns deferreds.\ +\ +The additional API and changes are minimal and strive to avoid surprises. + +%description %_description + +%package -n python2-txrequests +Summary: %summary Requires: python-requests Requires: python-twisted-core +%{?python_provide:%python_provide python2-txrequests} -%description -This is a small add-on for the python requests HTTP library. It makes use -twisted's ThreadPool, so that requests' API returns deferreds. - -The additional API and changes are minimal and strive to avoid surprises. +%description -n python2-txrequests %_description %if 0%{?with_python3} %package -n python3-txrequests @@ -101,7 +108,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-txrequests %doc README.rst %license LICENSE %{python2_sitelib}/%{modname}/ @@ -116,6 +123,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9.2-9 +- Python 2 binary package renamed to python2-txrequests + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.9.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild