From 56b5a9fcffe1a3bf4ba490de4d672612a85334cbbf4d08ddb2269ed08c777ff5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 1 Jun 2021 18:16:51 +0000 Subject: [PATCH] Accepting request 896654 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/896654 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=27 --- python-pymemcache.changes | 5 +++++ python-pymemcache.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pymemcache.changes b/python-pymemcache.changes index 97a2931..19e75f9 100644 --- a/python-pymemcache.changes +++ b/python-pymemcache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 1 10:41:18 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue Oct 13 07:29:30 UTC 2020 - Dirk Mueller diff --git a/python-pymemcache.spec b/python-pymemcache.spec index 19327c2..a186ebe 100644 --- a/python-pymemcache.spec +++ b/python-pymemcache.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymemcache # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # Copyright (c) 2014 Thomas Bechtold # # All modifications and additions to the file contributed by third parties @@ -65,7 +65,7 @@ pymemcache supports the following features: %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt