14
0

Accepting request 915473 from home:pgajdos:python

- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/915473
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isc_dhcp_leases?expand=0&rev=4
This commit is contained in:
2021-09-01 18:54:57 +00:00
committed by Git OBS Bridge
parent 63fc158a0a
commit 6c13c4732d
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 1 11:53:37 UTC 2021 - pgajdos@suse.com
- %check: use %pyunittest rpm macro
-------------------------------------------------------------------
Fri Apr 17 13:23:53 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-isc_dhcp_leases
#
# Copyright (c) 2020 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
@@ -12,7 +12,8 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -51,7 +52,7 @@ running in IPv6 mode.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v
%files %{python_files}
%license LICENSE