From 6c8bd9bb6b30c070540d7585d23139f129e415f756d73ca51c6b3a599151793c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 1 Oct 2021 09:18:14 +0000 Subject: [PATCH] Accepting request 917524 from home:pgajdos:python - %check: use %pyunittest rpm macro OBS-URL: https://build.opensuse.org/request/show/917524 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=24 --- python-setuptools-git.changes | 5 +++++ python-setuptools-git.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-setuptools-git.changes b/python-setuptools-git.changes index 2167136..817604b 100644 --- a/python-setuptools-git.changes +++ b/python-setuptools-git.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 8 09:08:54 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Tue Dec 4 12:54:13 UTC 2018 - Matej Cepl diff --git a/python-setuptools-git.spec b/python-setuptools-git.spec index b41a03a..e32cd6a 100644 --- a/python-setuptools-git.spec +++ b/python-setuptools-git.spec @@ -1,7 +1,7 @@ # # spec file for package python-setuptools-git # -# Copyright (c) 2018 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 @@ -55,7 +55,7 @@ export LANG=en_US.UTF-8 # configure git for the test git config --global user.email "test@test.test" git config --global user.name "test" -%python_exec setup.py test +%pyunittest discover -v %files %{python_files} %license LICENSE.txt