From 35d5a70fd489376bf3b7d978c8c9fb667e7655b4a7fa8b602658f9e8e5d028f1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 10:00:39 +0000 Subject: [PATCH] Accepting request 895703 from home:pgajdos:python setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-olefile?expand=0&rev=15 --- python-olefile.changes | 5 +++++ python-olefile.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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