Accepting request 914569 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/914569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tzlocal?expand=0&rev=27
This commit is contained in:
Matej Cepl 2021-08-28 08:29:35 +00:00 committed by Git OBS Bridge
parent b227fa5f8f
commit 80c6209d98
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 27 10:24:11 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Tue Jun 2 17:17:59 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-tzlocal
# spec file
#
# 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
@ -62,7 +62,7 @@ file. However, if the timezone name is readily available it will be used.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%license LICENSE.txt