[django-threaded-multihost] Add requires on Django

Rahul Sundaram sundaram at fedoraproject.org
Mon Jul 18 04:04:26 UTC 2011


commit ed3c1e928fd8e46b7e270d7992b794bc921e94eb
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Mon Jul 18 09:30:21 2011 +0530

    Add requires on Django

 django-threaded-multihost.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/django-threaded-multihost.spec b/django-threaded-multihost.spec
index 4f53936..ae2e15c 100644
--- a/django-threaded-multihost.spec
+++ b/django-threaded-multihost.spec
@@ -2,7 +2,7 @@
 
 Name:           django-threaded-multihost
 Version:        1.4.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Django app to enable multi-site awareness in Django apps
 
 Group:          Development/Libraries
@@ -15,6 +15,8 @@ BuildArch:      noarch
 BuildRequires:  python-setuptools
 BuildRequires:  python-devel    
 
+Requires:       Django
+
 %description
 django-threaded multihost provides support utilities to
 enable easy multi-site awareness in Django apps.
@@ -24,22 +26,19 @@ enable easy multi-site awareness in Django apps.
 %patch0 -p0
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
-
+%{__python} setup.py build
 
 %install
-%{__python} setup.py install --skip-build --root="$RPM_BUILD_ROOT"
-
+%{__python} setup.py install --skip-build --root=%{buildroot}
 
 %files
+%doc docs/ LICENSE.rst
 %{python_sitelib}/threaded_multihost/
 %{python_sitelib}/*.egg-info/
 
-%doc docs/ LICENSE.rst
-
-
-
 %changelog
+* Mon Jul 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.4.0-2
+- Add requires on Django
 
 * Tue Jul 12 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 1.4.0-1
 - Initial RPM release


More information about the scm-commits mailing list