[django-threaded-multihost/el6] Add requires on Django

Rahul Sundaram sundaram at fedoraproject.org
Mon Jul 18 03:58:06 UTC 2011


commit be1d4d56352290b2c467bd9e4fdc9dccb18e4a34
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Mon Jul 18 09:23:54 2011 +0530

    Add requires on Django

 django-threaded-multihost.spec |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/django-threaded-multihost.spec b/django-threaded-multihost.spec
index 4f53936..a2ea93e 100644
--- a/django-threaded-multihost.spec
+++ b/django-threaded-multihost.spec
@@ -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