Use upstream method of running tests (nosetests)
This commit is contained in:
parent
8c6ce60022
commit
7fe1488be1
@ -1,6 +1,6 @@
|
|||||||
Name: javapackages-tools
|
Name: javapackages-tools
|
||||||
Version: 3.5.0
|
Version: 3.5.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
|
|
||||||
Summary: Macros and scripts for Java packaging support
|
Summary: Macros and scripts for Java packaging support
|
||||||
|
|
||||||
@ -18,6 +18,7 @@ BuildRequires: python2-devel
|
|||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-formencode
|
BuildRequires: python-formencode
|
||||||
BuildRequires: scl-utils-build
|
BuildRequires: scl-utils-build
|
||||||
|
BuildRequires: python-nose
|
||||||
|
|
||||||
Requires: coreutils
|
Requires: coreutils
|
||||||
Requires: libxslt
|
Requires: libxslt
|
||||||
@ -123,12 +124,7 @@ pushd python
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd python
|
./check
|
||||||
%{__python} setup.py test
|
|
||||||
popd
|
|
||||||
pushd test
|
|
||||||
%{__python} -m unittest discover -p '*_test.py'
|
|
||||||
popd
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -148,6 +144,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.5.0-2
|
||||||
- Add version requirements on xmvn and ivy
|
- Add version requirements on xmvn and ivy
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user