forked from pool/python-nose2
Accepting request 923788 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/923788 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 7 14:35:00 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- %check: use %pyunittest rpm macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 2 13:22:27 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Mon Mar 2 13:22:27 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-nose2
|
# spec file for package python-nose2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -36,7 +36,7 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-coverage >= 4.4.1
|
Requires: python-coverage >= 4.4.1
|
||||||
Requires: python-six >= 1.1
|
Requires: python-six >= 1.1
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -65,7 +65,7 @@ rm -rf *.egg-info/
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LC_CTYPE=C.UTF8
|
export LC_CTYPE=C.UTF8
|
||||||
%python_exec setup.py test
|
%pyunittest discover -v
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative nose2
|
%python_install_alternative nose2
|
||||||
|
Reference in New Issue
Block a user