14
0
forked from pool/python-urwid

Accepting request 924844 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/924844
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-urwid?expand=0&rev=44
This commit is contained in:
2021-10-16 09:36:25 +00:00
committed by Git OBS Bridge
parent eee6c07af8
commit 0c66722b7b
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 12 10:28:44 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 19 10:04:34 UTC 2020 - Dirk Müller <dmueller@suse.com> Sat Dec 19 10:04:34 UTC 2020 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-urwid # spec file for package python-urwid
# #
# 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
@@ -60,7 +60,8 @@ find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }'
%check %check
# this test won't work on OBS # this test won't work on OBS
rm -f urwid/tests/test_vterm.py rm -f urwid/tests/test_vterm.py
%python_exec setup.py -q test cp *build*/*/urwid/*.so urwid
%pyunittest discover -v
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING