[django-countries] Use macros more. Drop defattr

Rahul Sundaram sundaram at fedoraproject.org
Tue Jul 12 15:29:31 UTC 2011


commit 24569c0c5eb0d866b7c450bb7c7ed186dbe09be6
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Tue Jul 12 20:55:50 2011 +0530

    Use macros more.  Drop defattr

 django-countries.spec |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/django-countries.spec b/django-countries.spec
index 8694de7..77aefcd 100644
--- a/django-countries.spec
+++ b/django-countries.spec
@@ -1,15 +1,15 @@
 Name:           django-countries
 Version:        1.0.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Provides a country field for Django models
 
 Group:          Development/Languages
 License:        MIT
 URL:            http://pypi.python.org/pypi/django-countries
-Source0:        http://pypi.python.org/packages/source/d/django-countries/django-countries-%{version}.tar.gz
+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
 
 %description
@@ -24,16 +24,17 @@ rm -rf django_countries/models.py
 %{__python} setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc LICENSE README 
 %{python_sitelib}/django_countries/
-%{python_sitelib}/django_countries*.egg-info
+%{python_sitelib}/*.egg-info
 
 %changelog
+* Tue Jul 12 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0.5-3
+- Use macros more.  Drop defattr
+
 * Sun May 08 2011 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0.5-2
 - Remove empty file
 


More information about the scm-commits mailing list