From 5b350ff128313add333e45d3448abbb3ed282bc72957f788b13a788c6ce0b90e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 30 Aug 2021 12:54:04 +0000 Subject: [PATCH] Accepting request 915023 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/915023 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-greenlet?expand=0&rev=58 --- python-greenlet.changes | 5 +++++ python-greenlet.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-greenlet.changes b/python-greenlet.changes index 5e72ceb..d3b27d8 100644 --- a/python-greenlet.changes +++ b/python-greenlet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 30 11:46:34 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sun Jun 6 12:37:38 UTC 2021 - Dirk Müller diff --git a/python-greenlet.spec b/python-greenlet.spec index 9d1b0f9..730406d 100644 --- a/python-greenlet.spec +++ b/python-greenlet.spec @@ -66,7 +66,7 @@ cd docs && make html && rm _build/html/.buildinfo %check export CFLAGS="%{optflags} -fno-tree-dominator-opts -fno-strict-aliasing" -%python_exec setup.py -q test +%pyunittest_arch discover -v greenlet.tests %files %{python_files} %doc AUTHORS CHANGES.rst README.rst