diff --git a/python-olefile.changes b/python-olefile.changes index a8c6c22..cf1506f 100644 --- a/python-olefile.changes +++ b/python-olefile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 26 09:16:10 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Mon Oct 14 14:01:01 UTC 2019 - Matej Cepl diff --git a/python-olefile.spec b/python-olefile.spec index ee0706b..c15ddcd 100644 --- a/python-olefile.spec +++ b/python-olefile.spec @@ -1,7 +1,7 @@ # # spec file for package python-olefile # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -57,7 +57,7 @@ sed -i 's/\r$//' doc/License.rst %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc CONTRIBUTORS.txt README.md README.rst README.html