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
This commit is contained in:
Dirk Mueller 2021-10-01 09:18:14 +00:00 committed by Git OBS Bridge
parent 459a74ee4a
commit 6c8bd9bb6b
2 changed files with 7 additions and 2 deletions

View File

@ -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 <mcepl@suse.com> Tue Dec 4 12:54:13 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-setuptools-git # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 # configure git for the test
git config --global user.email "test@test.test" git config --global user.email "test@test.test"
git config --global user.name "test" git config --global user.name "test"
%python_exec setup.py test %pyunittest discover -v
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt