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:
		| @@ -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> | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user