[python-fedora/el5] Remove the django subpackage on EPEL5 as Django is no longer available there.
Toshio くらとみ
toshio at fedoraproject.org
Wed Sep 4 17:05:49 UTC 2013
commit a38129b8e6ebb279a09831a02a3fa26a843503cc
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Wed Sep 4 10:05:35 2013 -0700
Remove the django subpackage on EPEL5 as Django is no longer available there.
python-fedora.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/python-fedora.spec b/python-fedora.spec
index b4a1032..8d82e26 100644
--- a/python-fedora.spec
+++ b/python-fedora.spec
@@ -4,7 +4,7 @@
Name: python-fedora
Version: 0.3.29
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Python modules for talking to Fedora Infrastructure Services
Group: Development/Languages
@@ -86,6 +86,9 @@ logging in to TurboGears2 services based on account information lp build
CSRF-protected login forms, and miscellaneous other helper functions for
TurboGears2 applications.
+%if 0%{?fedora} && 0%{?rhel} >= 5
+# Django has been removed from epel5 as there's no secure upstream version that
+# runs on py2.4
%package django
Summary: Python modules for django applications authing to Fedora Account System
Group: Development/Languages
@@ -97,6 +100,7 @@ Requires: Django
Python modules that help with building Fedora Services. This package includes
an auth provider to let django applications authenticate against the Fedora
Account System.
+%endif
%prep
%setup -q -n %{name}-%{version}%{?prerel}
@@ -141,10 +145,16 @@ rm -rf %{buildroot}
%{python_sitelib}/fedora/wsgi/
%{python_sitelib}/fedora/tg2/
+%if 0%{?fedora} || 0%{?rhel} >= 6
+# Django not available on EPEL5
%files django
%{python_sitelib}/fedora/django/
+%endif
%changelog
+* Wed Sep 4 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.29-3
+- Remove the django subpackage on EPEL5 as Django is no longer available there.
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.29-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list