From 65ade1bb90bfeb5719e76ae5ec1e5ceea5dcded81443747c878e3a5ef8fe2636 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Oct 2021 13:07:56 +0000 Subject: [PATCH] Accepting request 923731 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/923731 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ebcdic?expand=0&rev=6 --- python-ebcdic.changes | 5 +++++ python-ebcdic.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-ebcdic.changes b/python-ebcdic.changes index f19d27b..d76037a 100644 --- a/python-ebcdic.changes +++ b/python-ebcdic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 7 12:49:49 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Fri Sep 13 08:18:58 UTC 2019 - Tomáš Chvátal diff --git a/python-ebcdic.spec b/python-ebcdic.spec index 815eabc..6971e64 100644 --- a/python-ebcdic.spec +++ b/python-ebcdic.spec @@ -1,7 +1,7 @@ # # spec file for package python-ebcdic # -# 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 @@ -53,7 +53,7 @@ popd %check export LANG="en_US.UTF8" -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %doc README.rst