diff --git python-repoze-what/python-repoze-what.spec python-repoze-what/python-repoze-what.spec.tmp index bc9d023cca..b405e4c69a 100644 --- python-repoze-what/python-repoze-what.spec +++ python-repoze-what/python-repoze-what.spec.tmp @@ -2,7 +2,7 @@ Name: python-repoze-what Version: 1.0.9 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Authorization for WSGI applications Group: Development/Languages @@ -23,28 +23,35 @@ BuildRequires: python-nose python-zope-interface python-repoze-who BuildRequires: python-repoze-who-testutil BuildRequires: python-coverage +%global _description\ +`repoze.what` is an `authorization framework` for WSGI applications,\ +based on `repoze.who` (which deals with `authentication`).\ +\ +On the one hand, it enables an authorization system based on the groups to\ +which the `authenticated or anonymous` user belongs and the permissions granted\ +to such groups by loading these groups and permissions into the request on the\ +way in to the downstream WSGI application.\ +\ +And on the other hand, it enables you to manage your groups and permissions\ +from the application itself or another program, under a backend-independent\ +API. For example, it would be easy for you to switch from one back-end to\ +another, and even use this framework to migrate the data.\ +\ +It's highly extensible, so it's very unlikely that it will get in your way.\ +Among other things, you can extend it to check for many other conditions (such\ +as checking that the user comes from a given country, based on her IP address,\ +for example). + +%description %_description + +%package -n python2-repoze-what +Summary: %summary Requires: python-repoze-who Requires: python-repoze-who-testutil Requires: python-paste +%{?python_provide:%python_provide python2-repoze-what} -%description -`repoze.what` is an `authorization framework` for WSGI applications, -based on `repoze.who` (which deals with `authentication`). - -On the one hand, it enables an authorization system based on the groups to -which the `authenticated or anonymous` user belongs and the permissions granted -to such groups by loading these groups and permissions into the request on the -way in to the downstream WSGI application. - -And on the other hand, it enables you to manage your groups and permissions -from the application itself or another program, under a backend-independent -API. For example, it would be easy for you to switch from one back-end to -another, and even use this framework to migrate the data. - -It's highly extensible, so it's very unlikely that it will get in your way. -Among other things, you can extend it to check for many other conditions (such -as checking that the user comes from a given country, based on her IP address, -for example). +%description -n python2-repoze-what %_description %package docs Summary: Documentation for repoze.what @@ -75,7 +82,7 @@ make -C docs html # Causing package to be FTBFS since F-19! # PYTHONPATH=`pwd` nosetests -%files +%files -n python2-repoze-what %doc README.txt %{python_sitelib}/ @@ -84,6 +91,10 @@ make -C docs html %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.9-16 +- Python 2 binary package renamed to python2-repoze-what + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.9-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild