diff --git a/python-isc_dhcp_leases.changes b/python-isc_dhcp_leases.changes index 2dc2702..83c3aea 100644 --- a/python-isc_dhcp_leases.changes +++ b/python-isc_dhcp_leases.changes @@ -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 diff --git a/python-isc_dhcp_leases.spec b/python-isc_dhcp_leases.spec index 0728ef7..89c3ab6 100644 --- a/python-isc_dhcp_leases.spec +++ b/python-isc_dhcp_leases.spec @@ -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