[packages/libgit2] - updated to 1.4.3 (new soname)
qboosh
qboosh at pld-linux.org
Sun Jun 26 08:58:23 CEST 2022
commit dafc2bd7fceb5cf72dac968eeb1d99dd2351482c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 26 08:59:53 2022 +0200
- updated to 1.4.3 (new soname)
libgit2.spec | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/libgit2.spec b/libgit2.spec
index 7533c40..db17a16 100644
--- a/libgit2.spec
+++ b/libgit2.spec
@@ -7,13 +7,13 @@
Summary: C Git library
Summary(pl.UTF-8): Biblioteka Git dla C
Name: libgit2
-Version: 1.3.0
+Version: 1.4.3
Release: 1
License: GPL v2 with linking exception
Group: Libraries
#Source0Download: https://github.com/libgit2/libgit2/releases
Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c8b6658e421d51f0e1a5fe0c17fc41dc
+# Source0-md5: 61b3421e91c7e0e2938dfb36c26f19ba
Patch0: %{name}-no-libgit2-test.patch
URL: http://libgit2.github.com/
BuildRequires: cmake >= 3.5.1
@@ -21,7 +21,7 @@ BuildRequires: cmake >= 3.5.1
BuildRequires: http-parser-devel >= 2
%{?with_libssh:BuildRequires: libssh2-devel}
BuildRequires: openssl-devel
-BuildRequires: pcre-devel
+BuildRequires: pcre2-8-devel
BuildRequires: pkgconfig
%{?with_tests:BuildRequires: python}
BuildRequires: rpmbuild(macros) >= 1.742
@@ -71,19 +71,18 @@ cd build
# Type (:PATH or :STRING) must be specified explicitly to avoid expansion
# relative to cwd.
%cmake .. \
- -DINCLUDE_INSTALL_DIR:PATH=include \
- -DLIB_INSTALL_DIR:PATH=%{_lib} \
- %{cmake_on_off tests BUILD_CLAR} \
+ %{cmake_on_off tests BUILD_TESTS} \
+ -DREGEX_BACKEND=pcre2 \
%{cmake_on_off kerberos5 USE_GSSAPI} \
- %{cmake_on_off libssh USE_SSH} \
-DUSE_HTTP_PARSER=system \
- -DTHREADSAFE:BOOL=ON
+ %{cmake_on_off libssh USE_SSH}
%{__make}
%{?with_tests:%{__make} test ARGS="-V"}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
@@ -97,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS docs/contributing.md COPYING README.md
%attr(755,root,root) %{_libdir}/libgit2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgit2.so.1.3
+%attr(755,root,root) %ghost %{_libdir}/libgit2.so.1.4
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgit2.git/commitdiff/dafc2bd7fceb5cf72dac968eeb1d99dd2351482c
More information about the pld-cvs-commit
mailing list