forked from pool/python-Yapsy
Accepting request 915020 from home:pgajdos:python
- %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/915020 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Yapsy?expand=0&rev=14
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Yapsy
|
||||
#
|
||||
# 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
|
||||
@@ -52,7 +52,7 @@ find yapsy/ -name "*.py" -exec sed -i -e '/^#!\s\?\/usr\/bin\/\(env\s\)\?python
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pyunittest discover -v
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user