From 65ce2949ad74e467c65ae97a4acd17a4c3a0a2033a9fd0f5ad11fb926e60963b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 28 May 2021 09:39:06 +0000 Subject: [PATCH] Accepting request 895927 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/895927 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=23 --- python-python-gammu.changes | 5 +++++ python-python-gammu.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-python-gammu.changes b/python-python-gammu.changes index 55242e4..88eba62 100644 --- a/python-python-gammu.changes +++ b/python-python-gammu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 09:08:37 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Sat Jul 25 16:29:50 UTC 2020 - Martin Hauke diff --git a/python-python-gammu.spec b/python-python-gammu.spec index 97591e4..6846583 100644 --- a/python-python-gammu.spec +++ b/python-python-gammu.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gammu # -# 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 @@ -55,7 +55,8 @@ export CFLAGS="%{optflags}" # Need to limit tests due to brekage of libdbi rm test/test_smsd.py export LANG=en_US.UTF-8 -%python_expand $python setup.py test -s test.test_dummy +mv gammu gammu.hide +%pyunittest_arch discover -v %files %{python_files} %license COPYING