[python-django-authopenid] fix requires for renamed packages
Matthias Runge
mrunge at fedoraproject.org
Mon Sep 10 10:16:21 UTC 2012
commit 02965a389733e9d433ae8dab7671651ac99fd512
Author: Matthias Runge <mrunge at matthias-runge.de>
Date: Mon Sep 10 12:15:55 2012 +0200
fix requires for renamed packages
python-django-authopenid.spec | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/python-django-authopenid.spec b/python-django-authopenid.spec
index e73e785..1dda9fd 100644
--- a/python-django-authopenid.spec
+++ b/python-django-authopenid.spec
@@ -1,7 +1,7 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-django-authopenid
Version: 1.0.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: OpenID authentication application for Django
Group: Development/Languages
@@ -11,11 +11,18 @@ URL: http://pypi.python.org/pypi/django-authopenid/
Source0: http://pypi.python.org/packages/source/d/django-authopenid/django-authopenid-1.0.1.tar.gz
BuildArch: noarch
-BuildRequires: python-devel python-setuptools python-openid
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildRequires: python-openid
# Doc build is borked
# BuildRequires: python-sphinx
Requires: python-openid
-Requires: python-django python-django-registration
+%if 0%{?fedora} > 17
+Requires: python-django
+Requires: python-django-registration
+%else
+Requires: Django django-registration
+%endif
# for the rename request
Provides: django-authopenid = %{version}-%{release}
@@ -61,6 +68,9 @@ chmod a-x $RPM_BUILD_ROOT%{python_sitelib}/django_authopenid/example/templates/b
%{python_sitelib}/django_authopenid-*-py?.?.egg-info
%changelog
+* Mon Sep 10 2012 Matthias Runge <mrunge at redhat.com> - 1.0.1-5
+- bugfix for #854462 (correct requirements for Fedora <=17
+
* Wed Jul 25 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 1.0.1-4
- Bumpspec to release 4 to ensure clean upgrade path from obsoleted package
More information about the scm-commits
mailing list