From 39c45d19476b89f94473545e558651a981586c03 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Aug 19 2017 13:42:30 +0000 Subject: Python 2 binary package renamed to python2-repoze-what --- diff --git a/python-repoze-what.spec b/python-repoze-what.spec index 36a7f0e..586be66 100644 --- a/python-repoze-what.spec +++ b/python-repoze-what.spec @@ -1,6 +1,6 @@ Name: python-repoze-what Version: 1.0.9 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Authorization for WSGI applications Group: Development/Languages @@ -21,28 +21,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 @@ -73,7 +80,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 %{python2_sitelib}/ @@ -82,6 +89,10 @@ make -C docs html %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.0.9-17 +- Python 2 binary package renamed to python2-repoze-what + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 10 2017 Iryna Shcherbina - 1.0.9-16 - Add a build-time dependency on python2-devel and modernize spec file