diff --git a/python-pytils.changes b/python-pytils.changes index e839fb7..0109b55 100644 --- a/python-pytils.changes +++ b/python-pytils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 28 09:51:17 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest rpm macro + ------------------------------------------------------------------- Thu Nov 22 17:25:24 UTC 2018 - Jan Engelhardt diff --git a/python-pytils.spec b/python-pytils.spec index 5ce1bea..b91f593 100644 --- a/python-pytils.spec +++ b/python-pytils.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytils # -# Copyright (c) 2018 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 @@ -47,7 +47,9 @@ transliteration, etc.) %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +# requires django, it is skipped in pytils/test/__init__.py +rm -r pytils/test/templatetags +%pyunittest discover -v %files %{python_files} %license LICENSE