diff --git a/python-celery.changes b/python-celery.changes index c84a87d..08d510e 100644 --- a/python-celery.changes +++ b/python-celery.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 19 11:00:58 UTC 2019 - Hans-Peter Jansen + +- use %pytest macro + ------------------------------------------------------------------- Wed Jul 31 09:55:16 UTC 2019 - Tomáš Chvátal diff --git a/python-celery.spec b/python-celery.spec index 92cff35..ff70898 100644 --- a/python-celery.spec +++ b/python-celery.spec @@ -1,7 +1,7 @@ # # spec file for package python-celery # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -99,7 +99,7 @@ sed -i -e 's:==:>=:g' requirements/*.txt %check %if %{with test} -%python_exec setup.py test +%pytest %endif %if !%{with test}