diff --git a/python-urwid.changes b/python-urwid.changes index 90c8687..5928632 100644 --- a/python-urwid.changes +++ b/python-urwid.changes @@ -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 diff --git a/python-urwid.spec b/python-urwid.spec index 8c5efb6..b4395c9 100644 --- a/python-urwid.spec +++ b/python-urwid.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -60,7 +60,8 @@ find urwid -name "*.py" | xargs sed -i '1 { /^#!/ d }' %check # this test won't work on OBS rm -f urwid/tests/test_vterm.py -%python_exec setup.py -q test +cp *build*/*/urwid/*.so urwid +%pyunittest discover -v %files %{python_files} %license COPYING