[django-celery] Match current guidelines. Fix buildrequires

Rahul Sundaram sundaram at fedoraproject.org
Sat Jul 16 21:36:51 UTC 2011


commit 6d8a09d87c55e067de5a56913911ad71e14e39f6
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun Jul 17 03:02:56 2011 +0530

    Match current guidelines.  Fix buildrequires

 django-celery.spec |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/django-celery.spec b/django-celery.spec
index 17e6586..63cc4c0 100644
--- a/django-celery.spec
+++ b/django-celery.spec
@@ -1,6 +1,6 @@
 Name:           django-celery
 Version:        2.2.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Django Celery Integration
 Group:          Development/Languages
 License:        BSD
@@ -8,7 +8,7 @@ URL:            http://pypi.python.org/pypi/%{name}
 Source0:        http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz
 
 BuildArch:      noarch
-BuildRequires:  python-setuptools-devel python-devel
+BuildRequires:  python-setuptools python-devel
 Requires:       Django python-celery
 
 %description
@@ -31,16 +31,17 @@ rm -rf docs/.static*
 %{__python} setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
 %files 
-%defattr(-,root,root,-)
 %doc LICENSE FAQ README AUTHORS THANKS TODO Changelog docs/
 %{_bindir}/djcelerymon
 %{python_sitelib}/djcelery/
 %{python_sitelib}/django_celery*.egg-info
 
 %changelog
+* Sun Jul 17 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 2.2.4-2
+- Match current guidelines.  Fix buildrequires
+
 * Thu Apr 18 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 2.2.4-1
 - initial spec


More information about the scm-commits mailing list