Upgrade to 1.7.2
This commit is contained in:
parent
a19db9eaec
commit
08125a3694
Binary file not shown.
BIN
libgit2-1.7.2.tar.gz
Normal file
BIN
libgit2-1.7.2.tar.gz
Normal file
Binary file not shown.
12
libgit2.spec
12
libgit2.spec
@ -1,12 +1,12 @@
|
|||||||
Name: libgit2
|
Name: libgit2
|
||||||
Version: 1.6.5
|
Version: 1.7.2
|
||||||
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
|
||||||
URL: https://libgit2.org
|
URL: https://libgit2.org
|
||||||
Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc cmake >= 2.8.11 ninja-build http-parser-devel libcurl-devel
|
BuildRequires: gcc cmake >= 3.5.1 ninja-build http-parser-devel libcurl-devel
|
||||||
BuildRequires: libssh2-devel openssl-devel python3 zlib-devel
|
BuildRequires: libssh2-devel openssl-devel python3 zlib-devel
|
||||||
BuildRequires: pcre2-devel
|
BuildRequires: pcre2-devel
|
||||||
Provides: bundled(libxdiff)
|
Provides: bundled(libxdiff)
|
||||||
@ -27,7 +27,10 @@ This package contains libraries and headers for developing applications that use
|
|||||||
%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/libgit2/CMakeLists.txt
|
sed -i '/-sonline/s/^/#/' tests/libgit2/CMakeLists.txt
|
||||||
rm -vr deps
|
# Remove bundled libraries (except libxdiff)
|
||||||
|
pushd deps
|
||||||
|
find . -maxdepth 1 -not -name xdiff -exec rm -rf {} ';'
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake . -B%{_target_platform} -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
%cmake . -B%{_target_platform} -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
@ -56,6 +59,9 @@ rm -vr deps
|
|||||||
%{_includedir}/git2*
|
%{_includedir}/git2*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 06 2024 yaoxin <yao_xin001@hoperun.com> - 1.7.2-1
|
||||||
|
- Upgrade to 1.7.2
|
||||||
|
|
||||||
* Wed Feb 07 2024 yaoxin <yao_xin001@hoperun.com> - 1.6.5-1
|
* Wed Feb 07 2024 yaoxin <yao_xin001@hoperun.com> - 1.6.5-1
|
||||||
- Upgrade to 1.6.5 for fix CVE-2024-24575 and CVE-2024-24577
|
- Upgrade to 1.6.5 for fix CVE-2024-24575 and CVE-2024-24577
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user