[python-django-appconf] add requirements: Django/python-django

Matthias Runge mrunge at fedoraproject.org
Wed Sep 26 10:42:31 UTC 2012


commit bfc31c314915bdb5e5034df20ca6ac4f7a4a1155
Author: Matthias Runge <mrunge at redhat.com>
Date:   Wed Sep 26 12:42:11 2012 +0200

    add requirements: Django/python-django

 python-django-appconf.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-django-appconf.spec b/python-django-appconf.spec
index d92cd95..038279b 100644
--- a/python-django-appconf.spec
+++ b/python-django-appconf.spec
@@ -2,7 +2,7 @@
 
 Name:           python-%{pypi_name}
 Version:        0.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A helper class for handling configuration defaults of packaged apps gracefully
 
 License:        BSD
@@ -13,6 +13,11 @@ BuildArch:      noarch
 BuildRequires:  python2-devel
 BuildRequires:  python-sphinx
 
+%if 0%{?rhel}<7 || 0%{?fedora} < 18
+Requires:   Django
+%else
+Requires:   python-django
+%endif
 
 %description
 A helper class for handling configuration
@@ -45,5 +50,8 @@ rm -rf html/.{doctrees,buildinfo}
 %{python_sitelib}/django_appconf-%{version}-py?.?.egg-info
 
 %changelog
+* Wed Sep 26 2012 Matthias Runge <mrunge at redhat.com> - 0.5-2
+- also add requirement: Django/python-django
+
 * Tue Sep 11 2012 Matthias Runge <mrunge at redhat.com> - 0.5-1
 - Initial package.


More information about the scm-commits mailing list