This commit is contained in:
Your Name 2025-02-18 10:19:46 +00:00
parent 07e5a31e24
commit 923f871228

View file

@ -1,4 +1,4 @@
%define major 1.8
%define major 1.9
%define libname %mklibname git2_ %{major}
%define devname %mklibname git2 -d
@ -59,6 +59,7 @@ developing applications that use %{name}.
%{_libdir}/libgit2.so
%{_libdir}/pkgconfig/libgit2.pc
%{_includedir}/git2*
%{_libdir}/cmake/%{name}/*.cmake
#----------------------------------------------------------------------------
@ -75,7 +76,12 @@ rm -rf deps/{chromium-zlib,pcre,winhttp,zlib}
%build
%cmake \
-DBUILD_TESTS=OFF \
-DUSE_SSH=ON
-DUSE_SSH=ON \
-DBUILD_CLI=ON \
-DUSE_HTTPS=ON \
-DUSE_SHA1=ON \
-DUSE_SHA256=ON \
-DUSE_LEAK_CHECKER
%make
%install