Rebuild for libgit2 1.6.x

This commit is contained in:
Pete Walter 2023-03-22 07:06:58 +00:00
parent c97b670732
commit 5aab107219

View File

@ -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