1
0
forked from pool/python-fb-re2

Accepting request 1149119 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1149119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fb-re2?expand=0&rev=5
This commit is contained in:
Ana Guerrero 2024-02-22 19:59:38 +00:00 committed by Git OBS Bridge
commit 3c5a874cfe
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 22 08:33:37 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Fix tests on Python 3.12
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 3 11:02:39 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Thu Aug 3 11:02:39 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-fb-re2 # spec file for package python-fb-re2
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -40,6 +40,8 @@ Python wrapper for Google's RE2
%prep %prep
%autosetup -p1 -n pyre2-%{version} %autosetup -p1 -n pyre2-%{version}
# fix tests on py312
sed -i 's/assertRaisesRegexp/assertRaisesRegex/g' tests/test_match.py
%build %build
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"