Add check section and run test suite

This commit is contained in:
John Eckersberg 2013-08-08 14:12:46 -04:00
parent 835acb406c
commit 5609e58c13

View File

@ -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 <jeckersb@redhat.com> - 3.10-9
- Add check section and run test suite
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild