diff --git a/python-Yapsy.changes b/python-Yapsy.changes index 635c410..c6c0c20 100644 --- a/python-Yapsy.changes +++ b/python-Yapsy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 30 07:58:36 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Mon Apr 20 07:00:48 UTC 2020 - Tomáš Chvátal diff --git a/python-Yapsy.spec b/python-Yapsy.spec index 326e954..cc8388c 100644 --- a/python-Yapsy.spec +++ b/python-Yapsy.spec @@ -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}/*