diff --git a/baselibs.conf b/baselibs.conf index 94acba8..81f8286 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libgit2-1_3 +libgit2-1_4 diff --git a/libgit2-1.3.0.tar.gz b/libgit2-1.3.0.tar.gz deleted file mode 100644 index 0601551..0000000 --- a/libgit2-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:192eeff84596ff09efb6b01835a066f2df7cd7985e0991c79595688e6b36444e -size 5599575 diff --git a/libgit2-1.4.1.tar.gz b/libgit2-1.4.1.tar.gz new file mode 100644 index 0000000..370a682 --- /dev/null +++ b/libgit2-1.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fccd371a271133e29d002dd207490d22a0c9b06992b874b8edb8366532a94f54 +size 5629087 diff --git a/libgit2.changes b/libgit2.changes index c68fe57..f5a3d22 100644 --- a/libgit2.changes +++ b/libgit2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Feb 19 07:58:07 UTC 2022 - Andreas Stieger + +- update to 1.4.1: + * improve compatibility with git + * some deprecated API, ABI has changed + * multiple bug fixes and developer visible changes +- build with system PCRE2 +- remove http-parser build dependency, bundled lib has fixes + ------------------------------------------------------------------- Wed Oct 20 08:31:54 UTC 2021 - Matej Cepl diff --git a/libgit2.spec b/libgit2.spec index 0c633b9..39a7dac 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -1,7 +1,7 @@ # # spec file for package libgit2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2011, Sascha Peilicke # # All modifications and additions to the file contributed by third parties @@ -17,9 +17,9 @@ # -%define sover 1_3 +%define sover 1_4 Name: libgit2 -Version: 1.3.0 +Version: 1.4.1 Release: 0 Summary: C git library License: GPL-2.0-only WITH GCC-exception-2.0 @@ -28,9 +28,9 @@ URL: https://libgit2.github.com/ Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf BuildRequires: cmake >= 2.8 -BuildRequires: http-parser-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libpcre2-posix) BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(zlib) @@ -67,9 +67,8 @@ find examples -type f -name ".gitignore" -print -delete %build %cmake \ - -DTHREADSAFE:BOOL=ON \ -DUSE_SSH:BOOL=ON \ - -DUSE_SHA1DC:BOOL=ON \ + -DREGEX_BACKEND=pcre2 \ %{nil} %cmake_build @@ -85,6 +84,7 @@ find examples -type f -name ".gitignore" -print -delete %{_libdir}/%{name}.so.* %files devel +%license COPYING %doc examples %{_libdir}/%{name}.so %{_includedir}/git2*