From dc52473b030665244d4c7c143c314177518393628e4d4e259444752e71561b4f Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 3 Apr 2024 06:09:33 +0000 Subject: [PATCH] - Add upstream patch link to spec and changes files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=87 --- python-pygit2.changes | 2 +- python-pygit2.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pygit2.changes b/python-pygit2.changes index 70bd3f8..25d7f70 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -2,7 +2,7 @@ Sat Mar 30 23:08:16 UTC 2024 - Fridrich Strba - Added patch: - * pygit2-Upgrade_to_libgit2_v1_8_0.patch + * pygit2-Upgrade_to_libgit2_v1_8_0.patch (gh#libgit2/pygit2@6d539d76b53b) + Backport of upstream commit to build with libgit2 1.8.x + Apply only if libgit2-devel >= 1.8 + Fixes build in Factory diff --git a/python-pygit2.spec b/python-pygit2.spec index 37fb491..3998e88 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -25,6 +25,7 @@ Summary: Python bindings for libgit2 License: GPL-2.0-only URL: https://github.com/libgit2/pygit2 Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz +# PATCH-FIX-UPSTREAM pygit2-Upgrade_to_libgit2_v1_8_0.patch gh#libgit2/pygit2@6d539d76b53b Patch0: pygit2-Upgrade_to_libgit2_v1_8_0.patch BuildRequires: %{python_module cached-property} BuildRequires: %{python_module cffi >= 1.4.0}