[PyYAML/el5] Add check section and run test suite
John Eckersberg
jeckersb at fedoraproject.org
Mon Feb 3 18:46:15 UTC 2014
commit 879638bc9c665b33e0d1ccac956f25031358b84f
Author: John Eckersberg <jeckersb at redhat.com>
Date: Mon Feb 3 13:31:10 2014 -0500
Add check section and run test suite
PyYAML.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/PyYAML.spec b/PyYAML.spec
index f5e85a9..d13cc0d 100644
--- a/PyYAML.spec
+++ b/PyYAML.spec
@@ -6,7 +6,7 @@
Name: PyYAML
Version: 3.09
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: YAML parser and emitter for Python
Group: Development/Libraries
@@ -84,6 +84,16 @@ popd
%endif
+%check
+%{__python} setup.py test
+
+%if 0%{?with_python3}
+pushd %{py3dir}
+%{__python3} setup.py test
+popd
+%endif
+
+
%clean
rm -rf %{buildroot}
@@ -102,6 +112,9 @@ rm -rf %{buildroot}
%changelog
+* Mon Feb 3 2014 John Eckersberg <jeckersb at redhat.com> - 3.09-9
+- Add check section and run test suite
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.09-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list