[python-turbokid] Update to 1.0.5, and run the test suite in %check

Luke Macken lmacken at fedoraproject.org
Tue Sep 7 15:19:25 UTC 2010


commit 6b93b1f4212418e2d811393fb88a9804199cfd73
Author: Luke Macken <lmacken at redhat.com>
Date:   Tue Sep 7 11:19:19 2010 -0400

    Update to 1.0.5, and run the test suite in %check

 .gitignore           |    1 +
 python-turbokid.spec |   17 ++++++++++-------
 sources              |    2 +-
 3 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9a4b3f9..08db854 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 TurboKid-1.0.4.tar.gz
+/TurboKid-1.0.5.tar.gz
diff --git a/python-turbokid.spec b/python-turbokid.spec
index 41f189b..2e214e3 100644
--- a/python-turbokid.spec
+++ b/python-turbokid.spec
@@ -4,8 +4,8 @@
 %define module turbokid
 
 Name:           python-turbokid
-Version:        1.0.4
-Release:        5%{?dist}
+Version:        1.0.5
+Release:        1%{?dist}
 Summary:        Python template plugin that supports Kid templates
 
 Group:          Development/Languages
@@ -16,12 +16,9 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires: python-devel
-%if 0%{?fedora} >= 8
 BuildRequires: python-setuptools-devel
-%else
-BuildRequires: python-setuptools
-%endif
-Requires:       python-kid >= 0.9.6
+BuildRequires: python-nose python-kid
+Requires:      python-kid >= 0.9.6
 
 %description
 This package provides a template engine plugin, allowing you
@@ -41,6 +38,8 @@ that support python.templating.engines.
 rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
+%check
+PYTHONPATH=$(pwd) nosetests -q
 
 %clean
 rm -rf %{buildroot}
@@ -54,6 +53,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Sep 07 2010 Luke Macken <lmacken at redhat.com> - 1.0.5-1
+- Update to 1.0.5
+- Enable the test suite
+
 * Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 1.0.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 
diff --git a/sources b/sources
index 523e850..3bb564b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0dc9eba1783244a9800b8c4316d38341  TurboKid-1.0.4.tar.gz
+ba70daf5aa7121affdea8e7632a3b353  TurboKid-1.0.5.tar.gz


More information about the scm-commits mailing list