From e64e4f4fe00f93966a387658735a1429e8e047f4 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Sun, 5 Mar 2023 11:42:52 +0000 Subject: [PATCH] Update to 1.6.2 (rhbz#2173355) --- .gitignore | 1 + libgit2-remove-ftruncate-test.patch | 22 ---------------------- libgit2.spec | 7 ++----- sources | 2 +- 4 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 libgit2-remove-ftruncate-test.patch diff --git a/.gitignore b/.gitignore index f515c44..fe9f16e 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /libgit2-1.4.5.tar.gz /libgit2-1.5.1.tar.gz /libgit2-1.5.2.tar.gz +/libgit2-1.6.2.tar.gz diff --git a/libgit2-remove-ftruncate-test.patch b/libgit2-remove-ftruncate-test.patch deleted file mode 100644 index a65c0c9..0000000 --- a/libgit2-remove-ftruncate-test.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 12d73c418253a5c396465079c2808e07de17a1db Mon Sep 17 00:00:00 2001 -From: Peter Pettersson -Date: Thu, 14 Jul 2022 18:28:58 +0200 -Subject: [PATCH] clar: remove ftrunacte from libgit2 tests - ---- - tests/libgit2/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tests/libgit2/CMakeLists.txt b/tests/libgit2/CMakeLists.txt -index 27f421ad629..7f6fafe7709 100644 ---- a/tests/libgit2/CMakeLists.txt -+++ b/tests/libgit2/CMakeLists.txt -@@ -65,7 +65,7 @@ endif() - - include(AddClarTest) - add_clar_test(libgit2_tests offline -v -xonline) --add_clar_test(libgit2_tests invasive -v -score::ftruncate -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root) -+add_clar_test(libgit2_tests invasive -v -sfilter::stream::bigfile -sodb::largefiles -siterator::workdir::filesystem_gunk -srepo::init -srepo::init::at_filesystem_root) - add_clar_test(libgit2_tests online -v -sonline -xonline::customcert) - add_clar_test(libgit2_tests online_customcert -v -sonline::customcert) - add_clar_test(libgit2_tests gitdaemon -v -sonline::push) diff --git a/libgit2.spec b/libgit2.spec index e88e7b4..a44d657 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -6,16 +6,13 @@ %endif Name: libgit2 -Version: 1.5.2 +Version: 1.6.2 Release: %autorelease Summary: C implementation of the Git core methods as a library with a solid API License: GPLv2 with exceptions URL: https://libgit2.org/ Source0: https://github.com/libgit2/libgit2/archive/refs/tags/v%{version}.tar.gz#/libgit2-%{version}.tar.gz -# https://github.com/libgit2/libgit2/pull/6357 -Patch0: libgit2-remove-ftruncate-test.patch - BuildRequires: gcc BuildRequires: cmake >= 3.5.1 BuildRequires: ninja-build @@ -82,7 +79,7 @@ rm -vr deps %files %license COPYING -%{_libdir}/libgit2.so.1.5* +%{_libdir}/libgit2.so.1.6* %files devel %doc AUTHORS docs examples README.md diff --git a/sources b/sources index d806f0b..23b7aa2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libgit2-1.5.2.tar.gz) = 0de5e82953482bf57e9cd221406581a12c6acfbeeea0cebbb9b701d288804ec085b7c0902ba1f04ad7cdaaead9d472be21ffe8d730050db5c77101a93448fb3a +SHA512 (libgit2-1.6.2.tar.gz) = ef9feef36c5876776f3aa608101115c9e7a0970e6dd752851d930cb85b4b1789ed68f42700ebea51095ff54600e37c18a4de0c0678d9a4d7d4aba83668890c09