From 31b16d103595775993f377920535bba1f2cefed348d8f521670b668287353c72 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 17 May 2021 10:08:27 +0000 Subject: [PATCH] Accepting request 893660 from home:pgajdos:python - use %pytest macro OBS-URL: https://build.opensuse.org/request/show/893660 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fluent?expand=0&rev=5 --- python-fluent.changes | 5 +++++ python-fluent.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-fluent.changes b/python-fluent.changes index 0d09ba0..ffaf6f7 100644 --- a/python-fluent.changes +++ b/python-fluent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 17 09:16:27 UTC 2021 - pgajdos@suse.com + +- use %pytest macro + ------------------------------------------------------------------- Sat Jan 12 14:10:02 UTC 2019 - Jan Engelhardt diff --git a/python-fluent.spec b/python-fluent.spec index 7ccccd3..68c9578 100644 --- a/python-fluent.spec +++ b/python-fluent.spec @@ -1,7 +1,7 @@ # # spec file for package python-fluent # -# Copyright (c) 2019 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 @@ -25,6 +25,7 @@ License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/projectfluent/python-fluent Source: https://github.com/projectfluent/python-fluent/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -46,7 +47,7 @@ A localization framework for natural language translations. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %doc README.md CHANGELOG.md