diff --git a/python-ldap.changes b/python-ldap.changes index 8d8382f..92e0dee 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 14 12:35:59 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest_arch rpm macro + ------------------------------------------------------------------- Mon Sep 28 02:59:28 UTC 2020 - William Brown diff --git a/python-ldap.spec b/python-ldap.spec index 79f547a..15443b3 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,7 +1,7 @@ # # spec file for package python-ldap # -# 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 @@ -61,7 +61,7 @@ CFLAGS="%{optflags}" %python_build %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%pyunittest_arch discover -v -s Tests -p 't_*' %files %{python_files} %license LICENCE