Hello community, here is the log from the commit of package libgit2 for openSUSE:Factory checked in at 2015-09-08 17:38:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2015-02-03 11:39:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libgit2.new/libgit2.changes 2015-09-08 17:39:02.000000000 +0200 @@ -1,0 +2,91 @@ +Mon Sep 7 19:55:45 UTC 2015 - [email protected] + +- libgit2 0.23.2: + * documentation fixes + * diff: don't error out on an invalid regex + * http: propagate the credentials callback's error code + * Fix bug in git_smart__push: push_transfer_progress cb is never called + * remote: don't confuse tag auto-follow rules with refspec matching + * curl: use the most secure auth method for the proxy + * Forcing libssh2 lib location + * fix duplicate basenames to support older VS +- includes changes from 0.23.1: + * Stage an unregistered submodule in _add_bypath() + * filebuf: remove lockfile upon rename errors + * Increase required version of cmake to 2.8 + * Handle ssh:// and git:// urls containing a '~' character. + * documentation updates + * submodule URL handling fixes + * index: allow add_bypath to update submodules + * blob: fail to create a blob from a dir with EDIRECTORY + * submodule: lookup the submodule by path if available + * submdule: reproduce double-reporting of a submodule in foreach +- note cmake requirement and use cmake makros +- build with system libcurl +- build with system http-parser + +------------------------------------------------------------------- +Tue Jul 28 12:34:52 UTC 2015 - [email protected] + +- Update to version 0.23.0: + + Changes or improvements: + - Patience and minimal diff drivers can now be used for merges. + - Merges can now ignore whitespace changes. + - Updated binary identification in CRLF filtering to avoid + false positives in UTF-8 files. + - Rename and copy detection is enabled for small files. + - Checkout can now handle an initial checkout of a repository, + making GIT_CHECKOUT_SAFE_CREATE unnecessary for users of + clone. + - The signature parameter in the ref-modifying functions has + been removed. Use git_repository_set_ident() and + git_repository_ident() to override the signature to be used. + - The local transport now auto-scales the number of threads to + use when creating the packfile instead of sticking to one. + - Reference renaming now uses the right id for the old value. + - The annotated version of branch creation, HEAD detaching and + reset allow for specifying the expression from the user to be + put into the reflog. + - git_rebase_commit now returns GIT_EUNMERGED when you attempt + to commit with unstaged changes. + - On Mac OS X, we now use SecureTransport to provide the + cryptographic support for HTTPS connections insead of + OpenSSL. + - Checkout can now accept an index for the baseline + computations via the baseline_index member. + - The configuration for fetching is no longer stored inside the + git_remote struct but has been moved to a git_fetch_options. + The remote functions now take these options or the callbacks + instead of setting them beforehand. + - git_submodule instances are no longer cached or shared across + lookup. Each submodule represents the configuration at the + time of loading. + - The index now uses diffs for add_all() and update_all() which + gives it a speed boost and closer semantics to git. + - The ssh transport now reports the stderr output from the + server as the error message, which allows you to get the + "repository not found" messages. + - git_index_conflict_add() will remove staged entries that + exist for conflicted paths. + - The flags for a git_diff_file will now have the + GIT_DIFF_FLAG_EXISTS bit set when a file exists on that side + of the diff. This is useful for understanding whether a side + of the diff exists in the presence of a conflict. + - The constructor for a write-stream into the odb now takes + git_off_t instead of size_t for the size of the blob, which + allows putting large files into the odb on 32-bit systems. + - The remote's push and pull URLs now honor the + url.$URL.insteadOf configuration. This allows modifying URL + prefixes to a custom value via gitconfig. + - git_diff_foreach, git_diff_blobs, git_diff_blob_to_buffer, + and git_diff_buffers now accept a new binary callback of type + git_diff_binary_cb that includes the binary diff information. + - The race condition mitigations described in racy-git.txt have + been implemented. + - If libcurl is installed, we will use it to connect to HTTP(S) + servers. + + Various API changes (incl. breaking changes). +- Rename libgit2-22 subpackage to libgit2-23, following upstreams + soname bump (also in baselibs.conf). + +------------------------------------------------------------------- Old: ---- v0.22.1.tar.gz New: ---- libgit2-0.23.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libgit2.spec ++++++ --- /var/tmp/diff_new_pack.nRh5n9/_old 2015-09-08 17:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.nRh5n9/_new 2015-09-08 17:39:09.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libgit2 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011, Sascha Peilicke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -18,17 +18,19 @@ Name: libgit2 -Version: 0.22.1 +Version: 0.23.2 Release: 0 Summary: C git library License: GPL-2.0-with-GCC-exception Group: Development/Libraries/C and C++ Url: http://libgit2.github.com/ -Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz +Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf -BuildRequires: cmake +BuildRequires: cmake >= 2.8 +BuildRequires: http-parser-devel BuildRequires: pkgconfig BuildRequires: python-base +BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libssh2) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} @@ -43,11 +45,11 @@ you to write native speed custom Git applications in any language with bindings. -%package -n %{name}-22 +%package -n %{name}-23 Summary: C git library Group: System/Libraries -%description -n %{name}-22 +%description -n %{name}-23 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 @@ -56,7 +58,7 @@ %package devel Summary: C git library Group: Development/Libraries/C and C++ -Requires: %{name}-22 >= %{version} +Requires: %{name}-23 >= %{version} %description devel This package contains all necessary include files and libraries needed @@ -64,23 +66,22 @@ %prep %setup -q +find examples -type f -name ".gitignore" -print -delete %build -cmake . \ - -DCMAKE_C_FLAGS:STRING="%{optflags}" \ - -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ - -DLIB_INSTALL_DIR:PATH=%{_libdir} \ +%cmake \ -DTHREADSAFE:BOOL=ON \ -DUSE_SSH:BOOL=ON make %{?_smp_mflags} %install -%makeinstall +%cmake_install -%post -n %{name}-22 -p /sbin/ldconfig -%postun -n %{name}-22 -p /sbin/ldconfig +%post -n %{name}-23 -p /sbin/ldconfig -%files -n %{name}-22 +%postun -n %{name}-23 -p /sbin/ldconfig + +%files -n %{name}-23 %defattr (-,root,root) %doc AUTHORS COPYING README.md %{_libdir}/%{name}.so.* ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.nRh5n9/_old 2015-09-08 17:39:09.000000000 +0200 +++ /var/tmp/diff_new_pack.nRh5n9/_new 2015-09-08 17:39:09.000000000 +0200 @@ -1 +1 @@ -libgit2-22 +libgit2-23
