[python-django] Bump obsoletes version, since there is still Django-1.4.2-1 out there.

Bohuslav Kabrda bkabrda at fedoraproject.org
Fri Nov 16 06:03:48 UTC 2012


commit 8c554f66804223edce26867f1b00a80db63e9f63
Author: Slavek Kabrda <bkabrda at redhat.com>
Date:   Fri Nov 16 07:08:43 2012 +0100

    Bump obsoletes version, since there is still Django-1.4.2-1 out there.
    
    - Fix a provide that should allow users to use "django" instead of "Django".

 python-django.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/python-django.spec b/python-django.spec
index 6155eaa..3d31f7c 100644
--- a/python-django.spec
+++ b/python-django.spec
@@ -11,11 +11,11 @@
 
 # one higher than the last Django release, to account for
 # dist tags
-%global         obs_ver 1.4.1-2
+%global         obs_ver 1.4.2-2
 
 Name:           python-django
 Version:        1.4.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A high-level Python Web framework
 
 Group:          Development/Languages
@@ -45,8 +45,9 @@ BuildRequires:  python-simplejson
 
 Requires:       python-simplejson
 
+# allow users to use django with lowercase d
+Provides:       django = %{version}-%{release}
 Provides:       %{pkgname} = %{version}-%{release}
-Provides:       Django = %{version}-%{release}
 Obsoletes:      %{pkgname} < %{obs_ver}
 
 
@@ -254,6 +255,10 @@ cd tests
 
 
 %changelog
+* Fri Nov 16 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 1.4.2-2
+- Bump obsoletes version, since there is still Django-1.4.2-1 out there.
+- Fix a provide that should allow users to use "django" instead of "Django".
+
 * Thu Oct 18 2012 Matthias Runge <mrunge at redhat.com> - 1.4.2-1
 - security update to upstream version 1.4.2-1
   https://www.djangoproject.com/weblog/2012/oct/17/security/


More information about the scm-commits mailing list