[babel] run tests in %check

Nils Philippsen nphilipp at fedoraproject.org
Thu Oct 18 11:34:27 UTC 2012


commit 92f5fcdda532e6bd84b52589049be6f531e56d50
Author: Nils Philippsen <nils at redhat.com>
Date:   Thu Oct 18 13:34:11 2012 +0200

    run tests in %check

 babel.spec |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/babel.spec b/babel.spec
index 78202f4..333c11c 100644
--- a/babel.spec
+++ b/babel.spec
@@ -3,7 +3,7 @@
 
 Name:           babel
 Version:        0.9.6
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Tools for internationalizing Python applications
 
 Group:          Development/Languages
@@ -99,6 +99,15 @@ popd
 
 %{__python} setup.py install --skip-build --no-compile --root %{buildroot}
 
+%check
+%{__python} setup.py test
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif
+
 %clean
 rm -rf %{buildroot}
 
@@ -122,6 +131,9 @@ rm -rf %{buildroot}
 %endif
 
 %changelog
+* Thu Oct 18 2012 Nils Philippsen <nils at redhat.com> - 0.9.6-6
+- run tests in %%check
+
 * Sat Aug 04 2012 David Malcolm <dmalcolm at redhat.com> - 0.9.6-5
 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
 


More information about the scm-commits mailing list