From 6dc160b992790c294ea3e504d596f5f8acd94a830ea6c5e2cc4d99d341c746f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 19 Nov 2019 11:49:53 +0000 Subject: [PATCH] Accepting request 749506 from home:frispete:python - use %pytest macro OBS-URL: https://build.opensuse.org/request/show/749506 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=124 --- python-celery.changes | 5 +++++ python-celery.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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}