[python-decoratortools] - Update to 1.8 (#630718) - Run the test suite

Luke Macken lmacken at fedoraproject.org
Thu Sep 30 19:50:50 UTC 2010


commit b44432bc5835d05e793cd33b4998464901facba7
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Sep 30 15:50:44 2010 -0400

    - Update to 1.8 (#630718)
    - Run the test suite

 .gitignore                 |    1 +
 python-decoratortools.spec |   14 +++++++++++---
 sources                    |    2 +-
 3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index ebd8511..714506c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DecoratorTools-1.7.zip
+/DecoratorTools-1.8.zip
diff --git a/python-decoratortools.spec b/python-decoratortools.spec
index 5294462..306c80b 100644
--- a/python-decoratortools.spec
+++ b/python-decoratortools.spec
@@ -4,8 +4,8 @@
 %define module DecoratorTools
 
 Name:           python-decoratortools
-Version:        1.7
-Release:        5%{?dist}
+Version:        1.8
+Release:        1%{?dist}
 Summary:        Use class and function decorators -- even in Python 2.3
 Group:          Development/Languages
 License:        Python or ZPLv2.1
@@ -14,7 +14,7 @@ Source0:        http://cheeseshop.python.org/packages/source/D/DecoratorTools/%{
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires:  python-devel python-setuptools-devel
+BuildRequires:  python-devel python-setuptools-devel python-nose
 
 %description
 Want to use decorators, but still need to support Python 2.3? Wish you could
@@ -35,6 +35,10 @@ rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot}
 
 
+%check
+PYTHONPATH=$(pwd) nosetests -q
+
+
 %clean
 rm -rf %{buildroot}
 
@@ -48,6 +52,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Sep 30 2010 Luke Macken <lmacken at redhat.com> - 1.8-1
+- Update to 1.8 (#630718)
+- Run the test suite
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 1.7-5
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
diff --git a/sources b/sources
index ff31ec6..f12e8bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-84df0a86aabec6a7d802439ffaa17585  DecoratorTools-1.7.zip
+f161004115c3d04ed976c230c8a91d87  DecoratorTools-1.8.zip


More information about the scm-commits mailing list