From e639a6f069eb7fca22fcfc2f2d1f648970984fe2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jan 2017 13:49:04 +0100 Subject: [PATCH] Update to 0.25.1 (RHBZ #1395926) Signed-off-by: Igor Gnatenko --- .gitignore | 1 + libgit2.spec | 22 +++++++++++----------- sources | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 0b762d7..c0aabad 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /libgit2-0.24.2.tar.gz /libgit2-0.24.3.tar.gz /libgit2-0.24.6.tar.gz +/libgit2-0.25.1.tar.gz diff --git a/libgit2.spec b/libgit2.spec index 520bc1b..90364bb 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -1,10 +1,10 @@ Name: libgit2 -Version: 0.24.6 +Version: 0.25.1 Release: 1%{?dist} Summary: C implementation of the Git core methods as a library with a solid API License: GPLv2 with exceptions URL: http://libgit2.github.com/ -Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/libgit2/libgit2/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: http-parser-devel @@ -23,7 +23,7 @@ with bindings. %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %description devel This package contains libraries and header files for @@ -44,21 +44,18 @@ sed -i 's/ionline/xonline/' CMakeLists.txt # Remove bundled libraries rm -frv deps -mkdir build - %build -pushd build +mkdir %{_target_platform} +pushd %{_target_platform} %cmake -DTHREADSAFE=ON .. - %make_build popd +%make_build -C %{_target_platform} %install -pushd build - %make_install -popd +%make_install -C %{_target_platform} %check -pushd build +pushd %{_target_platform} ctest -VV popd @@ -77,6 +74,9 @@ popd %{_includedir}/git2/ %changelog +* Tue Feb 07 2017 Igor Gnatenko - 0.25.1-1 +- Update to 0.25.1 (RHBZ #1395926) + * Tue Jan 10 2017 Igor Gnatenko - 0.24.6-1 - Update to 0.24.6 (RHBZ #1411857) diff --git a/sources b/sources index 9f7567b..db8be13 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libgit2-0.24.6.tar.gz) = ea928629450f6619c17e76cf32e5d76ddd9e00d914b8a0fc2efdcc32ae271637c124a27a8d4c595b8dcf2048551b22f1bc3c5b6394b3022a2f852a06f7ab3396 +SHA512 (libgit2-0.25.1.tar.gz) = bbd0d27c95406b548185ce02e2a9288a9dcb8c3b28476ba20f4f4917f6bd67f1ddee80de3054d30b79cdb9d973c3061a15ea7847c79bfa4e0c62e41d5195cb99