diff --git python-restauth/python-restauth.spec python-restauth/python-restauth.spec.tmp index 5ee619eeca..9f38ccd267 100644 --- python-restauth/python-restauth.spec +++ python-restauth/python-restauth.spec.tmp @@ -2,7 +2,7 @@ Name: python-restauth Version: 0.6.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Reference implementation of RestAuth specification in Python Group: Development/Languages License: GPLv3+ @@ -16,16 +16,24 @@ BuildRequires: python-setuptools BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # if with_python3 -Requires: python-restauth-common -%description -The RestAuth project is a system providing shared authentication, -authorization and preferences. - -This reference library implements all features of the RestAuth specification. -It is written in pure python and generally works with +%global _description\ +The RestAuth project is a system providing shared authentication,\ +authorization and preferences.\ +\ +This reference library implements all features of the RestAuth specification.\ +It is written in pure python and generally works with\ Python 2.6 or later (including Python 3). +%description %_description + +%package -n python2-restauth +Summary: %summary +Requires: python-restauth-common +%{?python_provide:%python_provide python2-restauth} + +%description -n python2-restauth %_description + %if 0%{?with_python3} %package -n python3-restauth Summary: Reference implementation of RestAuth specification in Python @@ -94,7 +102,7 @@ for f in examples/*.py; do chmod -x $f done -%files +%files -n python2-restauth %doc AUTHORS ChangeLog COPYING COPYRIGHT %{python_sitelib}/* @@ -108,6 +116,10 @@ done %doc html examples %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.6.1-12 +- Python 2 binary package renamed to python2-restauth + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild