Remove upstreamed const-parents.patch.
This commit is contained in:
parent
b0fca1d393
commit
d67fc87079
@ -1,27 +0,0 @@
|
|||||||
|
|
||||||
---
|
|
||||||
src/repository.c | 6 ++++--
|
|
||||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- a/src/repository.c
|
|
||||||
+++ b/src/repository.c
|
|
||||||
@@ -1065,7 +1065,8 @@ Repository_create_commit(Repository *sel
|
|
||||||
|
|
||||||
err = git_commit_create(&oid, self->repo, update_ref,
|
|
||||||
py_author->signature, py_committer->signature,
|
|
||||||
- encoding, message, tree, parent_count, parents);
|
|
||||||
+ encoding, message, tree, parent_count,
|
|
||||||
+ (const git_commit **)parents);
|
|
||||||
if (err < 0) {
|
|
||||||
Error_set(err);
|
|
||||||
goto out;
|
|
||||||
@@ -1147,7 +1148,8 @@ Repository_create_commit_string(Reposito
|
|
||||||
|
|
||||||
err = git_commit_create_buffer(&buf, self->repo,
|
|
||||||
py_author->signature, py_committer->signature,
|
|
||||||
- encoding, message, tree, parent_count, parents);
|
|
||||||
+ encoding, message, tree, parent_count,
|
|
||||||
+ (const git_commit **)parents);
|
|
||||||
if (err < 0) {
|
|
||||||
Error_set(err);
|
|
||||||
goto out;
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Remove upstreamed const-parents.patch.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -25,9 +25,6 @@ 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 const-parents.patch gh#libgit2/pygit2!1324 mcepl@suse.com
|
|
||||||
# use correct type of git_commit_create() function
|
|
||||||
Patch0: const-parents.patch
|
|
||||||
BuildRequires: %{python_module base >= 3.10}
|
BuildRequires: %{python_module base >= 3.10}
|
||||||
BuildRequires: %{python_module cached-property}
|
BuildRequires: %{python_module cached-property}
|
||||||
BuildRequires: %{python_module cffi >= 1.17.0}
|
BuildRequires: %{python_module cffi >= 1.17.0}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user