From 5aab107219d950ec8e57c4c26d1532b7e26316c9 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Wed, 22 Mar 2023 07:06:58 +0000 Subject: [PATCH] Rebuild for libgit2 1.6.x --- python-pygit2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-pygit2.spec b/python-pygit2.spec index 69008a0..4bfd03b 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -11,7 +11,7 @@ Source0: https://github.com/libgit2/pygit2/archive/v%{version}.tar.gz#/%{ BuildRequires: make BuildRequires: gcc -BuildRequires: (libgit2-devel >= 1.5.0 with libgit2-devel < 1.6.0) +BuildRequires: (libgit2-devel >= 1.6.0 with libgit2-devel < 1.7.0) %description pygit2 is a set of Python bindings to the libgit2 library, which implements @@ -46,6 +46,8 @@ Documentation for %{name}. %prep %autosetup -n %{pkgname}-%{version} -p1 +sed -i -e '/LIBGIT2_VER_MINOR/s/5/6/g' src/types.h + %build %py3_build