commit libgit2 for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package libgit2 for openSUSE:Factory checked in at 2014-07-20 10:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libgit2 (Old) and /work/SRC/openSUSE:Factory/.libgit2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libgit2" Changes: -------- --- /work/SRC/openSUSE:Factory/libgit2/libgit2.changes 2014-02-18 14:44:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgit2.new/libgit2.changes 2014-07-20 10:49:37.000000000 +0200 @@ -1,0 +2,37 @@ +Thu Jul 10 21:37:25 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.21.1: + + Added a new config snapshotting API to fix race issues when + different applications (e.g. Git and a libgit2 client) access + the same repository simultaneously. + + Added reflog support to all APIs that could alter a reference. + + Avoided race conditions when updating references. + + Converted all APIs that output string data to use git_buf + objects for the return value. + + Added standard git_<object>_init_options functions to + initialize options structures when static initialization is not + possible, and renamed options structures to standard + git_<object>_options (replacing _opts suffix used in some + places). + + Improved use of const on pointers in many APIs (which may + affect some bindings). + + Replaced use of oid with simply id for references to + git_oid value.s + + Previously, when a callback function returned an error value + (i.e. non-zero), libgit2 converted it to GIT_EUSER for the + parent function's return value. Now, libgit2 tries to pass + through the callback's return value all the way back to the + caller. + + All inline functions were eliminated from the public libgit2 + API. + + Removed all Apache licensed code from library. + + For more changes, please see detailed ChangeLog in package. +- Rename libgit2-0 subpackage to libgit2-21, following upstreams + soname change (another project believing the soname should match + the version). +- Enable SSH Support: + + Add pkgconfig(libssh2) BuildRequires. + + Pass -DUSE_SSH:BOOL=ON to cmake call in order to enable SSH + support. + +------------------------------------------------------------------- Old: ---- v0.20.0.tar.gz New: ---- v0.21.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgit2.spec ++++++ --- /var/tmp/diff_new_pack.Nhb20K/_old 2014-07-20 10:49:38.000000000 +0200 +++ /var/tmp/diff_new_pack.Nhb20K/_new 2014-07-20 10:49:38.000000000 +0200 @@ -18,7 +18,7 @@ Name: libgit2 -Version: 0.20.0 +Version: 0.21.0 Release: 0 Summary: C git library License: GPL-2.0-with-GCC-exception @@ -28,6 +28,7 @@ BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: python-base +BuildRequires: pkgconfig(libssh2) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: openssl-devel @@ -41,11 +42,11 @@ you to write native speed custom Git applications in any language with bindings. -%package -n %{name}-0 +%package -n %{name}-21 Summary: C git library Group: System/Libraries -%description -n %{name}-0 +%description -n %{name}-21 libgit2 is a portable, pure C implementation of the Git core methods provided as a re-entrant linkable library with a solid API, allowing you to write native speed custom Git applications in any language @@ -54,7 +55,7 @@ %package devel Summary: C git library Group: Development/Libraries/C and C++ -Requires: %{name}-0 >= %{version} +Requires: %{name}-21 >= %{version} %description devel This package contains all necessary include files and libraries needed @@ -68,16 +69,17 @@ -DCMAKE_C_FLAGS:STRING="%{optflags}" \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DLIB_INSTALL_DIR:PATH=%{_libdir} \ - -DTHREADSAFE:BOOL=ON + -DTHREADSAFE:BOOL=ON \ + -DUSE_SSH:BOOL=ON make %{?_smp_mflags} %install %makeinstall -%post -n %{name}-0 -p /sbin/ldconfig -%postun -n %{name}-0 -p /sbin/ldconfig +%post -n %{name}-21 -p /sbin/ldconfig +%postun -n %{name}-21 -p /sbin/ldconfig -%files -n %{name}-0 +%files -n %{name}-21 %defattr (-,root,root) %doc AUTHORS COPYING README.md %{_libdir}/%{name}.so.* ++++++ v0.20.0.tar.gz -> v0.21.0.tar.gz ++++++ ++++ 67300 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de