diff --git a/const-parents.patch b/const-parents.patch deleted file mode 100644 index 2669549..0000000 --- a/const-parents.patch +++ /dev/null @@ -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; diff --git a/pygit2-1.16.0.tar.gz b/pygit2-1.16.0.tar.gz deleted file mode 100644 index 586d40d..0000000 --- a/pygit2-1.16.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b29a6796baa15fc89d443ac8d51775411d9b1e5b06dc40d458c56c8576b48a2 -size 768597 diff --git a/pygit2-1.17.0.tar.gz b/pygit2-1.17.0.tar.gz new file mode 100644 index 0000000..069f030 --- /dev/null +++ b/pygit2-1.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2bc050b2c2d3e73b54d6d541c792178561a344f07e409f532d5bb97ac7b894 +size 769002 diff --git a/python-pygit2.changes b/python-pygit2.changes index 9680a02..587223e 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl + +- Remove upstreamed const-parents.patch. + +------------------------------------------------------------------- +Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová + +- Update to 1.17.0 + * Upgrade to libgit2 1.9 + * Add certificate_check callback to Remote.ls_remotes(...) + * Fix build with GCC 14 + * Documentation: fix typo in Repository.status(...) docstring + * Fix tests with Python 3.13.1 + ------------------------------------------------------------------- Tue Nov 5 10:50:38 UTC 2024 - Matej Cepl diff --git a/python-pygit2.spec b/python-pygit2.spec index 7f7f63e..9f7e44a 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -19,15 +19,12 @@ %{?sle15_python_module_pythons} Name: python-pygit2 -Version: 1.16.0 +Version: 1.17.0 Release: 0 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 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 cached-property} BuildRequires: %{python_module cffi >= 1.17.0}