diff --git a/re2-2024-07-02.tar.gz b/re2-2024-07-02.tar.gz deleted file mode 100644 index eaee4b248ca9c5881f7d095187677d25e4b0e1a1..0000000000000000000000000000000000000000 Binary files a/re2-2024-07-02.tar.gz and /dev/null differ diff --git a/re2-2025-08-12.tar.gz b/re2-2025-08-12.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2c415945116b6b3a13624995a3ba84fabc3abd1d Binary files /dev/null and b/re2-2025-08-12.tar.gz differ diff --git a/re2.spec b/re2.spec index edf2ad20e7b766dfb3e241c51055914a560bc96b..90eb18cbde5c4e9dcd6fe7cf617be0e39738d411 100644 --- a/re2.spec +++ b/re2.spec @@ -1,10 +1,10 @@ Name: re2 -Version: 20240702 -Release: 2 +Version: 20250812 +Release: 1 Summary: Provide backtracking RE engine License: BSD-3-Clause URL: https://github.com/google/re2/ -Source0: https://github.com/google/re2/archive/re2-2024-07-02.tar.gz +Source0: https://github.com/google/re2/archive/2025-08-12/re2-2025-08-12.tar.gz Patch1: add-some-testcases-for-abnormal-branches.patch BuildRequires: gcc-c++ BuildRequires: cmake >= 3.13 @@ -25,11 +25,11 @@ 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}-2024-07-02 -p1 +%autosetup -n %{name}-2025-08-12 -p1 %build %cmake \ - -DRE2_BUILD_TESTING:BOOL=OFF \ + -DRE2_TEST:BOOL=OFF \ -DRE2_USE_ICU:BOOL=ON \ -GNinja %cmake_build @@ -39,7 +39,7 @@ If you want to develop programs using re2, you need to install re2-devel. %files %license LICENSE -%doc README +%doc README.md %{_libdir}/lib%{name}.so.* %files devel @@ -49,6 +49,9 @@ If you want to develop programs using re2, you need to install re2-devel. %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Sep 10 2025 gaihuiying - 20250812-1 +- update to 20250812 + * Sun May 11 2025 Funda Wang - 20240702-2 - build with cmake