!25 update to 20240201

From: @eaglegai 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
This commit is contained in:
openeuler-ci-bot 2024-02-07 07:27:15 +00:00 committed by Gitee
commit 535f8a6315
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 5 deletions

Binary file not shown.

BIN
2024-02-01.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: re2 Name: re2
Version: 20230901 Version: 20240201
Release: 2 Release: 1
Summary: Provide backtracking RE engine Summary: Provide backtracking RE engine
License: BSD License: BSD
URL: http://github.com/google/re2/ 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 Patch1: add-some-testcases-for-abnormal-branches.patch
BuildRequires: gcc-c++ abseil-cpp-devel 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. If you want to develop programs using re2, you need to install re2-devel.
%prep %prep
%autosetup -n %{name}-2023-09-01 -p1 %autosetup -n %{name}-2024-02-01 -p1
%build %build
sed -i 's/RE2_LDFLAGS?=-pthread/RE2_LDFLAGS?=-pthread -Wl,--as-needed/g' Makefile 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 /sbin/ldconfig
%files %files
%doc AUTHORS CONTRIBUTORS README LICENSE %doc README LICENSE
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.*
%files devel %files devel
@ -52,6 +52,9 @@ export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}:LD_LIBRARY_PATH
%exclude %{_libdir}/libre2.a %exclude %{_libdir}/libre2.a
%changelog %changelog
* Wed Feb 07 2024 gaihuiying <eaglegai@163.com> - 20240201-1
- update to 20240201
* Tue Jan 23 2024 gaihuiying <eaglegai@163.com> - 20230901-2 * Tue Jan 23 2024 gaihuiying <eaglegai@163.com> - 20230901-2
- add '-Wl, --as-needed' for re2 to link dynamic library - add '-Wl, --as-needed' for re2 to link dynamic library