From 4cc38a8f63c25ef03ac40cd7b8332bc1bd0f6395861cb6c7808cd06146eb9d16 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 1 Jun 2021 07:55:51 +0000 Subject: [PATCH] Accepting request 896584 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/896584 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=15 --- python-pathspec.changes | 5 +++++ python-pathspec.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pathspec.changes b/python-pathspec.changes index 5e6f326..2d91ffb 100644 --- a/python-pathspec.changes +++ b/python-pathspec.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 1 07:24:28 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sat Dec 19 10:49:21 UTC 2020 - Dirk Müller diff --git a/python-pathspec.spec b/python-pathspec.spec index d24e958..388c6aa 100644 --- a/python-pathspec.spec +++ b/python-pathspec.spec @@ -1,7 +1,7 @@ # # spec file for package python-pathspec # -# 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 @@ -47,7 +47,7 @@ files. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc CHANGES.rst README.rst