From 68d93a82a8af9b7d755ce98228ad15c2a4938a514c34ef2d3130434e3ef4efe0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 19 May 2021 10:04:36 +0000 Subject: [PATCH] Accepting request 894269 from home:pgajdos:python - use %pytest_arch macro in %check OBS-URL: https://build.opensuse.org/request/show/894269 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fb-re2?expand=0&rev=5 --- python-fb-re2.changes | 5 +++++ python-fb-re2.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/python-fb-re2.changes b/python-fb-re2.changes index ef81603..e0b79c5 100644 --- a/python-fb-re2.changes +++ b/python-fb-re2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 19 09:09:13 UTC 2021 - pgajdos@suse.com + +- use %pytest_arch macro in %check + ------------------------------------------------------------------- Tue Mar 12 15:11:50 UTC 2019 - Tomáš Chvátal diff --git a/python-fb-re2.spec b/python-fb-re2.spec index 5045523..4ad4fd0 100644 --- a/python-fb-re2.spec +++ b/python-fb-re2.spec @@ -1,7 +1,7 @@ # # spec file for package python-fb-re2 # -# 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 @@ -23,15 +23,15 @@ Release: 0 Summary: Python wrapper for Google's RE2 License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/facebook/pyre2 +URL: https://github.com/facebook/pyre2 Source: https://github.com/facebook/pyre2/archive/v%{version}.tar.gz BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros BuildRequires: re2-devel - %python_subpackages %description @@ -49,7 +49,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +%pytest_arch %files %{python_files} %doc README.rst