From 5609e58c1335072a12cc75f409bcf7f6b8e0f98d Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Thu, 8 Aug 2013 14:12:46 -0400 Subject: [PATCH] Add check section and run test suite --- PyYAML.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/PyYAML.spec b/PyYAML.spec index 45cd9b9..e3bec64 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -6,7 +6,7 @@ Name: PyYAML Version: 3.10 -Release: 8%{?dist} +Release: 9%{?dist} Summary: YAML parser and emitter for Python Group: Development/Libraries @@ -86,6 +86,16 @@ popd %endif +%check +%{__python} setup.py test + +%if 0%{?with_python3} +pushd %{py3dir} +%{__python3} setup.py test +popd +%endif + + %clean rm -rf %{buildroot} @@ -104,6 +114,9 @@ rm -rf %{buildroot} %changelog +* Thu Aug 8 2013 John Eckersberg - 3.10-9 +- Add check section and run test suite + * Fri Aug 02 2013 Fedora Release Engineering - 3.10-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild