SHA256
8
0
forked from pool/libgit2

Accepting request 956658 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/956658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgit2?expand=0&rev=47
This commit is contained in:
2022-02-23 15:25:48 +00:00
committed by Git OBS Bridge
5 changed files with 20 additions and 10 deletions

View File

@@ -1 +1 @@
libgit2-1_3
libgit2-1_4

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:192eeff84596ff09efb6b01835a066f2df7cd7985e0991c79595688e6b36444e
size 5599575

3
libgit2-1.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fccd371a271133e29d002dd207490d22a0c9b06992b874b8edb8366532a94f54
size 5629087

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Feb 19 07:58:07 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- 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 <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libgit2
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2011, Sascha Peilicke <saschpe@gmx.de>
#
# 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*