diff --git a/2023-09-01.tar.gz b/2023-09-01.tar.gz deleted file mode 100644 index 800ca593547e944b7c55383addec2e13cf4afb22..0000000000000000000000000000000000000000 Binary files a/2023-09-01.tar.gz and /dev/null differ diff --git a/2024-02-01.tar.gz b/2024-02-01.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..17d5806c7ea40beb21bf52e5331eac9d213d3eb1 Binary files /dev/null and b/2024-02-01.tar.gz differ diff --git a/re2.spec b/re2.spec index a0a56f99f22d7ef44ad8d2bdfffe935b467857ee..1114a7f3a8ac6347a340f3c72c66b27390643d66 100644 --- a/re2.spec +++ b/re2.spec @@ -1,11 +1,11 @@ Name: re2 -Version: 20230901 -Release: 2 +Version: 20240201 +Release: 1 Summary: Provide backtracking RE engine License: BSD URL: http://github.com/google/re2/ -Source0: https://github.com/google/re2/archive/2023-09-01.tar.gz -Patch1: add-some-testcases-for-abnormal-branches.patch +Source0: https://github.com/google/re2/archive/2024-02-01.tar.gz + BuildRequires: gcc-c++ abseil-cpp-devel %description @@ -21,7 +21,7 @@ This package contains C ++ header files and symbolic links to re2's shared libra If you want to develop programs using re2, you need to install re2-devel. %prep -%autosetup -n %{name}-2023-09-01 -p1 +%autosetup -n %{name}-2024-02-01 -p1 %build sed -i 's/RE2_LDFLAGS?=-pthread/RE2_LDFLAGS?=-pthread -Wl,--as-needed/g' Makefile @@ -52,6 +52,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:LD_LIBRARY_PATH %exclude %{_libdir}/libre2.a %changelog +* Mon Feb 5 2024 wyxhjr - 20240201-1 +- Upgrade to 20240201 + * Tue Jan 23 2024 gaihuiying - 20230901-2 - add '-Wl, --as-needed' for re2 to link dynamic library