Sync from SUSE:SLFO:Main re2 revision 2b4cb03a74d53e339fa2e95a00f4714e

This commit is contained in:
2025-04-23 23:54:38 +02:00
parent 1ca4773b38
commit 7b2517a563
5 changed files with 88 additions and 12 deletions

View File

@@ -1 +1 @@
libre2-10
libre2-11

BIN
re2-2023-03-01.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
re2-2024-07-02.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,78 @@
-------------------------------------------------------------------
Mon Jul 1 14:18:15 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-07-02:
* address -Wsign-compare warnings
-------------------------------------------------------------------
Fri May 31 20:52:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-06-01:
* switch to abseil logging
* build system changes
-------------------------------------------------------------------
Wed May 1 11:35:08 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-05-01:
* Stop setting re2_INCLUDE_DIR
* Fixes related to python bindings
-------------------------------------------------------------------
Wed Apr 3 20:30:36 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-04-01:
* Fix SIGSEGV if Match is called before Compile
* remove unsuppressable stderr message when compiling an empty
re2.Filter
-------------------------------------------------------------------
Fri Mar 1 16:20:16 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-03-01:
* Fix bugs in Latin-1 handling
-------------------------------------------------------------------
Wed Jan 31 18:06:24 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2024-02-01:
* Maintenance release with a number of developer visible changes
-------------------------------------------------------------------
Wed Nov 1 23:33:01 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2023-11-01:
* Update Unicode date to 15.1.0
* Use Abseil's character class functions that are locale-agnostic
* Set SOURCE_DATE_EPOCH for reproducible builds
-------------------------------------------------------------------
Fri Sep 1 12:53:42 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2023-09-01:
* Add support for (?<name>expr)
-------------------------------------------------------------------
Mon Jul 31 16:41:06 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 2023-08-01:
* Stop using std::map<std::string, Prefilter*>
* Avoid expanding counted repetitions of empty-width ops
* build infrastructure fixes
-------------------------------------------------------------------
Sat Jul 1 17:57:47 UTC 2023 - Andreas Stieger <Andreas.Stieger@gmx.de>
- update to 2023-07-01:
* build system tweaks
-------------------------------------------------------------------
Tue Jun 20 19:58:02 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023-06-02:
* Export PCRE::no_more_args and the functors
* CI fixes (gcc 13, clang 16)
-------------------------------------------------------------------
Thu Mar 9 15:40:13 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>

View File

@@ -2,6 +2,7 @@
# spec file for package re2
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +17,9 @@
#
%global longver 2023-03-01
%global longver 2024-07-02
%global shortver %(echo %{longver}|sed 's|-||g')
%define libname libre2-10
%define libname libre2-11
Name: re2
Version: %{shortver}
Release: 0
@@ -28,14 +29,15 @@ Group: Development/Libraries/C and C++
URL: https://github.com/google/re2
Source0: %{url}/archive/%{longver}/%{name}-%{longver}.tar.gz
Source99: baselibs.conf
BuildRequires: cmake >= 3.13
BuildRequires: pkgconfig
BuildRequires: cmake(absl)
BuildRequires: pkgconfig(icu-uc)
%if 0%{?suse_version} < 1550
BuildRequires: gcc12-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: cmake >= 3.10.2
BuildRequires: pkgconfig
BuildRequires: pkgconfig(icu-uc)
%description
RE2 is a C++ library providing a fast, safe, thread-friendly alternative to
@@ -100,16 +102,15 @@ export CXX=g++-12
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:LD_LIBRARY_PATH
%ctest || true
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{libname}
%files -n %{libname}
%license LICENSE
%doc AUTHORS CONTRIBUTORS README
%{_libdir}/lib%{name}.so.*
%files devel
%license LICENSE
%doc README
%{_includedir}/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc