[python-fedora] - Upstream bugfix release that makes many TG2-server helper function more usable - Also, split the T

Toshio くらとみ toshio at fedoraproject.org
Thu Oct 6 15:30:07 UTC 2011


commit 62ea07ee512c49e65c90eccab4886db416bc633d
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Thu Oct 6 08:29:16 2011 -0700

    - Upstream bugfix release that makes many TG2-server helper function more usable
    - Also, split the TG2 functionality into a separate subpackage from the TG1 functions
    - Minor update to bugzilla email aliases

 .gitignore         |    2 +
 python-fedora.spec |  147 ++++++++++++++++++----------------------------------
 sources            |    2 +-
 3 files changed, 54 insertions(+), 97 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b628318..500a6d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 /python-fedora-0.3.24.tar.gz
+/python-fedora-0.3.25.tar.gz
+/python-fedora-0.3.25.1.tar.gz
diff --git a/python-fedora.spec b/python-fedora.spec
index a8d6784..77304f2 100644
--- a/python-fedora.spec
+++ b/python-fedora.spec
@@ -1,8 +1,10 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
+#%%global prerel c2
+
 Name:           python-fedora
-Version:        0.3.24
-Release:        3%{?dist}
+Version:        0.3.25.1
+Release:        1%{?dist}
 Summary:        Python modules for talking to Fedora Infrastructure Services
 
 Group:          Development/Languages
@@ -31,10 +33,7 @@ BuildRequires: TurboGears python-repoze-who-friendlyform Django
 BuildRequires: python-pycurl
 
 Requires:       python-simplejson
-Requires:       python-bugzilla
 Requires:       python-bunch
-Requires:       python-feedparser
-Requires:       python-decorator
 Requires:       python-pycurl
 Requires:       python-kitchen
 # These are now optional dependencies.  Some bodhi methods will not work if
@@ -54,16 +53,38 @@ Group:          Development/Languages
 License:        LGPLv2+
 Requires: %{name} = %{version}-%{release}
 Requires: TurboGears
+Requires: python-sqlalchemy
+Requires: python-decorator
+Requires: python-bugzilla
+Requires: python-feedparser
+
+%description turbogears
+Python modules that help with building Fedora Services.  This package includes
+a JSON based auth provider for authenticating TurboGears1 applications against
+FAS2 over the network, a csrf protected version of the standard TG1 auth
+provider, templates to help build CSRF-protected login forms, and miscellaneous
+other helper functions for TurboGears applications.
+
+%package turbogears2
+Summary: Python modules for TurboGears applications in Fedora Infrastructure
+Group:          Development/Languages
+License:        LGPLv2+
+Requires: %{name} = %{version}-%{release}
 Requires: TurboGears2
 Requires: python-sqlalchemy
+%if 0%{?fedora}
+Requires: python-mako >= 0.3.6
+%else if 0%{?rhel} && 0%{?rhel} <= 6
+Requires: python-mako0.4 >= 0.3.6
+%endif
 Requires: python-repoze-who-friendlyform
 
-%description turbogears
+%description turbogears2
 Python modules that help with building Fedora Services.  This package includes
-a pair of JSON based auth providers for authenticating TurboGears1 and
-TurboGears2 applications against FAS2 over the network, a csrf protected
-version of the standard TG1 auth provider, and miscellaneous other helper
-functions for TurboGears applications.
+middleware for protecting against CSRF attacks, repoze.who authenticators for
+logging in to TurboGears2 services based on account information lp build
+CSRF-protected login forms, and miscellaneous other helper functions for
+TurboGears2 applications.
 
 %package django
 Summary: Python modules for django applications authing to Fedora Account System
@@ -89,7 +110,16 @@ PYTHONPATH=$path paver html
 rm -rf %{buildroot}
 paver install --skip-build --root %{buildroot}
 
+# Cleanup doc
 mv build-doc/html doc/
+if test -e doc/html/.buildinfo ; then
+  rm doc/html/.buildinfo
+fi
+find doc -name 'EMPTY' -exec rm \{\} \;
+
+# Remove regression tests
+rm -rf %{buildroot}%{python_sitelib}/fedora/wsgi/test
+
 %find_lang %{name}
 
 %clean
@@ -105,12 +135,23 @@ rm -rf %{buildroot}
 
 %files turbogears
 %{python_sitelib}/fedora/tg/
+
+%files turbogears2
 %{python_sitelib}/fedora/wsgi/
+%{python_sitelib}/fedora/tg2/
 
 %files django
 %{python_sitelib}/fedora/django/
 
 %changelog
+* Thu Oct 6 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.25.1-1
+- Minor update to bugzilla email aliases
+
+* Sat Sep 3 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.25-1
+- Upstream bugfix release that makes many TG2-server helper function more usable
+- Also, split the TG2 functionality into a separate subpackage from the TG1
+  functions
+
 * Tue Aug 9 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.24-3
 - Get the PYTHONPATH for building docs correct
 
@@ -189,89 +230,3 @@ rm -rf %{buildroot}
 
 * Sun Feb 8 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.9-1
 - New upstream with important bugfixes.
-
-* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.3.8-2
-- Rebuild for Python 2.6
-
-* Thu Nov 20 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.8-1
-- New upstream with pycurl client backend, more fas methods, and bodhi bugfix.
-
-* Thu Oct 30 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.7-1
-- New upstream has more complete pkgdb integration.
-
-* Mon Sep 15 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.6-2
-- Add python-sphinx to the buildrequires.
-
-* Mon Sep 15 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.6-1
-- New upstream.  No longer deps on koji.
-
-* Mon Aug 25 2008 Luke Macken <lmacken at redhat.com> - 0.3.5-1
-- New upstream release
-
-* Mon Jul 28 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.4-1
-- Small fix to proxyclient.send_request() for sequence types.
-
-* Wed Jul 23 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.3-1
-- A few fixes for the new fas release.
-
-* Sun Jul 20 2008 Luke Macken <lmacken at redhat.com> - 0.3.2-1
-- Latest upstream release
-- Add koji to the Requires
-
-* Mon Jul 14 2008 Luke Macken <lmacken at redhat.com> - 0.3.1-1
-- New upstream bugfix release
-
-* Wed Jul 02 2008 Luke Macken <lmacken at redhat.com> - 0.3-1
-- New upstream release.
-
-* Wed Apr 23 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.11.1-1
-- Fix a crasher bug.
-
-* Wed Apr 23 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.11-1
-- New upstream release.
-
-* Wed Apr 23 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.10-1
-- New upstream release.
-
-* Sun Apr 20 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.9-1
-- New upstream release.
-
-* Sat Apr 12 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.8-1
-- New upstream release to fix two bugs found by a pylint run.
-
-* Fri Apr 11 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 0.2.99.7-1
-- Add a method to accounts.fas2.AccountSystem to speed up retrieval of user
-  information.
-
-* Mon Apr 7 2008 Ricky Zhou <ricky at fedoraproject.org> - 0.2.99.6-1
-- Add gencert method in fedora.accounts.fas2
-- Remove old python-ldap dependency.
-- Toshio Kuratomi added:
-  * Merge infrastructure subpackage into main package.
-  * Remove FAS1 code.
-  * Fix JsonVisitManager race condition.
-  * Start documentation on BaseClient/Fedora Service Architecture.
-
-* Tue Mar 18 2008 Ricky Zhou <ricky at fedoraproject.org> - 0.2.99.5-1
-- Add fas2.py (an interface for apps to fetch data from FAS2 using
-  fedora.tg.client)
-
-* Tue Mar 11 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.4-1
-- Change from Ricky to enable user.human_name.
-
-* Tue Mar 11 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.3-1
-- Fix a bug in BaseClient.
-
-* Fri Mar 7 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.2-2
-- Small updates to description of -infrastructure as we're no longer tied to
-  Fedora Infrastructure boxes.
-
-* Mon Mar 3 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.2-1
-- Third beta.  Changes to accomodate FAS2 included as FAS2, TG-1.0.4, and
-  SA-0.4 are going to all roll into the new platform together.
-
-* Sun Feb 17 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.1-1
-- Second beta.
-
-* Wed Feb 13 2008 Toshio Kuratomi <tkuratom at redhat.com> - 0.2.99.0-1
-- First beta of new release.  This release is for TG-1.0.4 and SA-0.4.
diff --git a/sources b/sources
index 9ebd35d..a13e5fb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ee8116bd1585e7707bca49475c313390  python-fedora-0.3.24.tar.gz
+b02accff57ce99edd2cc6085d965ca9b  python-fedora-0.3.25.1.tar.gz


More information about the scm-commits mailing list