Use upstream method of running tests (nosetests)

This commit is contained in:
Michael Simacek 2014-01-17 14:30:07 +01:00
parent 8c6ce60022
commit 7fe1488be1

View File

@ -1,6 +1,6 @@
Name: javapackages-tools
Version: 3.5.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Macros and scripts for Java packaging support
@ -18,6 +18,7 @@ BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-formencode
BuildRequires: scl-utils-build
BuildRequires: python-nose
Requires: coreutils
Requires: libxslt
@ -123,12 +124,7 @@ pushd python
popd
%check
pushd python
%{__python} setup.py test
popd
pushd test
%{__python} -m unittest discover -p '*_test.py'
popd
./check
@ -148,6 +144,9 @@ popd
%changelog
* Fri Jan 17 2014 Michael Simacek <msimacek@redhat.com> - 3.5.0-3
- Use upstream method of running tests (nosetests)
* Thu Jan 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.0-2
- Add version requirements on xmvn and ivy