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..6df49e31268fdcd3fdaa93274503251aaa877686 Binary files /dev/null and b/2024-02-01.tar.gz differ diff --git a/re2.spec b/re2.spec index a0a56f99f22d7ef44ad8d2bdfffe935b467857ee..b0b9529a6d690dedb2d47a8efc0be03dff79e6fd 100644 --- a/re2.spec +++ b/re2.spec @@ -1,10 +1,10 @@ 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 +Source0: https://github.com/google/re2/archive/2024-02-01.tar.gz Patch1: add-some-testcases-for-abnormal-branches.patch BuildRequires: gcc-c++ abseil-cpp-devel @@ -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 @@ -43,7 +43,7 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:LD_LIBRARY_PATH /sbin/ldconfig %files -%doc AUTHORS CONTRIBUTORS README LICENSE +%doc README LICENSE %{_libdir}/lib%{name}.so.* %files devel @@ -52,6 +52,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:LD_LIBRARY_PATH %exclude %{_libdir}/libre2.a %changelog +* Wed Feb 07 2024 gaihuiying - 20240201-1 +- update to 20240201 + * Tue Jan 23 2024 gaihuiying - 20230901-2 - add '-Wl, --as-needed' for re2 to link dynamic library