- 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
This commit is contained in:
Daniel Garcia 2024-04-03 06:09:33 +00:00 committed by Git OBS Bridge
parent 9ca5fe6c63
commit dc52473b03
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@
Sat Mar 30 23:08:16 UTC 2024 - Fridrich Strba <fstrba@suse.com> Sat Mar 30 23:08:16 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch: - 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 + Backport of upstream commit to build with libgit2 1.8.x
+ Apply only if libgit2-devel >= 1.8 + Apply only if libgit2-devel >= 1.8
+ Fixes build in Factory + Fixes build in Factory

View File

@ -25,6 +25,7 @@ Summary: Python bindings for libgit2
License: GPL-2.0-only License: GPL-2.0-only
URL: https://github.com/libgit2/pygit2 URL: https://github.com/libgit2/pygit2
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz 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 Patch0: pygit2-Upgrade_to_libgit2_v1_8_0.patch
BuildRequires: %{python_module cached-property} BuildRequires: %{python_module cached-property}
BuildRequires: %{python_module cffi >= 1.4.0} BuildRequires: %{python_module cffi >= 1.4.0}