[python-django-nose/f17] update to verson 1.0

Matthias Runge mrunge at fedoraproject.org
Fri Mar 16 08:23:11 UTC 2012


commit fc12c9d3048ec645e9e5a42a52f5aa3bef94fded
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Fri Mar 16 09:22:55 2012 +0100

    update to verson 1.0

 .gitignore              |    1 +
 python-django-nose.spec |   17 ++++++++++++-----
 sources                 |    2 +-
 3 files changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 37c6247..3deb7ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /django-nose-0.1.3.tar.gz
+/django-nose-1.0.tar.gz
diff --git a/python-django-nose.spec b/python-django-nose.spec
index d57fc87..49922e8 100644
--- a/python-django-nose.spec
+++ b/python-django-nose.spec
@@ -1,14 +1,13 @@
 %global pkgname django-nose
 
 Name:           python-django-nose
-Version:        0.1.3
+Version:        1.0
 Release:        1%{?dist}
 Summary:        Django test runner that uses nose
 
 License:        BSD
 URL:            http://github.com/jbalogh/django-nose
-Source0:        http://pypi.python.org/packages/source/d/django-nose/django-nose-0.1.3.tar.gz
-#md5=5b4f54f7e0e251b169d86ad6ee6b9b10
+Source0:        http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
 
 BuildArch:      noarch
 BuildRequires:  python2-devel python-setuptools
@@ -21,9 +20,11 @@ Django test runner that uses nose.
 %prep
 %setup -q -n %{pkgname}-%{version}
 
+# remove egg-info
+rm -rf django_nose.egg-info
+
 
 %build
-# Remove CFLAGS=... for noarch packages (unneeded)
 %{__python} setup.py build
 
 
@@ -33,9 +34,15 @@ Django test runner that uses nose.
  
 %files
 %doc LICENSE README.rst
-%{python_sitelib}/*
+%{python_sitelib}/django_nose
+%{python_sitelib}/django_nose-%{version}-py?.?.egg-info
 
 
 %changelog
+* Fri Mar 16 2012 Matthias Runge <mrunge at matthias-runge.de> - 1.0-1
+- update to 1.0 from upstream
+- more explicit %%files-section
+- remove bundled egg-info
+
 * Tue Jan 31 2012 Matthias Runge <mrunge at matthias-runge.de> - 0.1.3-1
 - initial packaging
diff --git a/sources b/sources
index 93e87f3..3297b94 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5b4f54f7e0e251b169d86ad6ee6b9b10  django-nose-0.1.3.tar.gz
+9f27926c42c58ea93973db236f22cd72  django-nose-1.0.tar.gz


More information about the scm-commits mailing list