diff --git a/python-requestbuilder.spec b/python-requestbuilder.spec index f508e1fd3f..0c06fa18a3 100644 --- a/python-requestbuilder.spec +++ b/python-requestbuilder.spec @@ -3,7 +3,7 @@ Name: python-requestbuilder Version: 0.7.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Command line-driven HTTP request builder License: ISC @@ -16,21 +16,28 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: python-requests >= 2.4 -Requires: python-six >= 1.5 - %if 0%{?el6} BuildRequires: python-argparse -Requires: python-argparse %endif -Provides: python2-requestbuilder = %{version}-%{release} +%global _description\ +Requestbuilder is a framework for creating command line tools that send\ +HTTP requests simply and quickly.\ + + +%description %_description -%description -Requestbuilder is a framework for creating command line tools that send -HTTP requests simply and quickly. +%package -n python2-requestbuilder +Summary: %summary +Requires: python-requests >= 2.4 +Requires: python-six >= 1.5 +%if 0%{?el6} +Requires: python-argparse +%endif +%{?python_provide:%python_provide python2-requestbuilder} +%description -n python2-requestbuilder %_description %prep %setup -q -n requestbuilder-%{version} @@ -45,13 +52,17 @@ rm -rf $RPM_BUILD_ROOT %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%files +%files -n python2-requestbuilder %license COPYING %doc README %{python2_sitelib}/requestbuilder* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.7.1-4 +- Python 2 binary package renamed to python2-requestbuilder + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild