!24 Update to version 1.6.4

From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-07 09:05:05 +00:00 committed by Gitee
commit 87628783b5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Name: libgit2 Name: libgit2
Version: 1.3.2 Version: 1.6.4
Release: 1 Release: 1
Summary: portable, pure C implementation of the Git core methods Summary: portable, pure C implementation of the Git core methods
License: GPLv2 with exceptions License: GPLv2 with exceptions
@ -26,13 +26,13 @@ This package contains libraries and headers for developing applications that use
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
find examples -name ".gitignore" -delete -print find examples -name ".gitignore" -delete -print
sed -i '/-sonline/s/^/#/' tests/CMakeLists.txt sed -i '/-sonline/s/^/#/' tests/libgit2/CMakeLists.txt
rm -vr deps rm -vr deps
%build %build
%cmake . -B%{_target_platform} -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %cmake . -B%{_target_platform} -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DREGEX_BACKEND=pcre2 -DUSE_SHA1=HTTPS -DUSE_HTTP_PARSER=system \ -DREGEX_BACKEND=pcre2 -DBUILD_CLI=OFF -DUSE_SHA1=HTTPS -DUSE_HTTP_PARSER=system \
-DUSE_NTLMCLIENT=OFF -DUSE_HTTPS=OpenSSL %{nil} -DUSE_NTLMCLIENT=OFF -DUSE_HTTPS=OpenSSL -DUSE_SSH=ON %{nil}
%ninja_build -C %{_target_platform} %ninja_build -C %{_target_platform}
%install %install
@ -56,6 +56,10 @@ rm -vr deps
%{_includedir}/git2* %{_includedir}/git2*
%changelog %changelog
* Fri Jul 7 2023 liyanan <thistleslyn@163.com> - 1.6.4-1
- Update to version 1.6.4
- Abi change: libgit2.so.1.3.2 -> libgit2.so.1.6.4
* Mon Jul 25 2022 xu_ping <xuping33@h-partners.com> - 1.3.2-1 * Mon Jul 25 2022 xu_ping <xuping33@h-partners.com> - 1.3.2-1
- Upgrade 1.3.2 - Upgrade 1.3.2

Binary file not shown.

BIN
v1.6.4.tar.gz Normal file

Binary file not shown.