Accepting request 894284 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/894284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fb-re2?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-05-19 15:49:35 +00:00 committed by Git OBS Bridge
commit 58d97271cf
2 changed files with 9 additions and 4 deletions

View File

@ -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 <tchvatal@suse.com>

View File

@ -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