diff --git a/python-repoze-who.spec b/python-repoze-who.spec index 3e5802d3e9..a3df898dfc 100644 --- a/python-repoze-who.spec +++ b/python-repoze-who.spec @@ -6,7 +6,7 @@ Name: python-repoze-who Version: 2.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: An identification and authentication framework for WSGI Group: Development/Languages @@ -22,38 +22,44 @@ BuildRequires: python-zope-interface BuildRequires: python-coverage BuildRequires: python-webob -Requires: python-setuptools -Requires: python-zope-interface -Requires: python-webob - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-nose BuildRequires: python3-coverage BuildRequires: python3-zope-interface BuildRequires: python3-webob - -Requires: python3-setuptools -Requires: python3-zope-interface -Requires: python3-webob %endif -%description -repoze.who is an identification and authentication framework for arbitrary WSGI -applications. It acts as WSGI middleware. +%global _description\ +repoze.who is an identification and authentication framework for arbitrary WSGI\ +applications. It acts as WSGI middleware.\ +\ +repoze.who is inspired by Zope 2's Pluggable Authentication Service (PAS) (but\ +repoze.who is not dependent on Zope in any way; it is useful for any WSGI\ +application). It provides no facility for authorization (ensuring whether a\ +user can or cannot perform the operation implied by the request). This is\ +considered to be the domain of the WSGI application.\ -repoze.who is inspired by Zope 2's Pluggable Authentication Service (PAS) (but -repoze.who is not dependent on Zope in any way; it is useful for any WSGI -application). It provides no facility for authorization (ensuring whether a -user can or cannot perform the operation implied by the request). This is -considered to be the domain of the WSGI application. +%description %_description + +%package -n python2-repoze-who +Summary: %summary +Requires: python-setuptools +Requires: python-zope-interface +Requires: python-webob +%{?python_provide:%python_provide python2-repoze-who} + +%description -n python2-repoze-who %_description %if 0%{?with_python3} %package -n python3-repoze-who Summary: An identification and authentication framework for WSGI Group: Development/Languages +Requires: python3-setuptools +Requires: python3-zope-interface +Requires: python3-webob %description -n python3-repoze-who repoze.who is an identification and authentication framework for arbitrary WSGI @@ -104,7 +110,7 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-repoze-who %doc README.txt COPYRIGHT.txt LICENSE.txt %{python_sitelib}/repoze/who/ %{python_sitelib}/%{modname}-* @@ -118,6 +124,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 2.1-12 +- Python 2 binary package renamed to python2-repoze-who + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 2.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild