From 2030c794e7d9bf5609cd85875c165aa25f3868e818bcd8caaae4c1110ebfbfa5 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 27 May 2021 09:59:18 +0000 Subject: [PATCH] Accepting request 895705 from home:pgajdos:python setup.py test replacement OBS-URL: https://build.opensuse.org/request/show/895705 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orderedmultidict?expand=0&rev=5 --- python-orderedmultidict.changes | 5 +++++ python-orderedmultidict.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-orderedmultidict.changes b/python-orderedmultidict.changes index 565309e..2698d7d 100644 --- a/python-orderedmultidict.changes +++ b/python-orderedmultidict.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 27 06:36:26 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue Jul 23 13:36:15 UTC 2019 - Tomáš Chvátal diff --git a/python-orderedmultidict.spec b/python-orderedmultidict.spec index 0464b7f..5bd61f2 100644 --- a/python-orderedmultidict.spec +++ b/python-orderedmultidict.spec @@ -1,7 +1,7 @@ # # spec file for package python-orderedmultidict # -# 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 @@ -52,7 +52,7 @@ rm -r *.egg-info %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pyunittest discover -v tests/ %files %{python_files} %doc README.md