Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pygit2 for openSUSE:Factory 
checked in at 2023-03-26 20:19:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygit2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pygit2.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pygit2"

Sun Mar 26 20:19:58 2023 rev:31 rq:1073635 version:1.11.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pygit2/python-pygit2.changes      
2022-12-05 18:00:45.832438707 +0100
+++ /work/SRC/openSUSE:Factory/.python-pygit2.new.31432/python-pygit2.changes   
2023-03-26 20:20:00.047209979 +0200
@@ -1,0 +2,6 @@
+Tue Mar 21 07:13:27 UTC 2023 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add support-libgit2-1.6.patch to make it work with the latest
+  libgit2 release gh#libgit2/pygit2#1200
+
+-------------------------------------------------------------------

New:
----
  support-libgit2-1.6.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pygit2.spec ++++++
--- /var/tmp/diff_new_pack.CSuHOK/_old  2023-03-26 20:20:01.071215329 +0200
+++ /var/tmp/diff_new_pack.CSuHOK/_new  2023-03-26 20:20:01.075215350 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pygit2
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2019 Neal Gompa <ngomp...@gmail.com>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-pygit2
 Version:        1.11.1
@@ -26,6 +25,8 @@
 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 support-libgit2-1.6.patch gh#libgit2/pygit2#1200
+Patch0:         support-libgit2-1.6.patch
 BuildRequires:  %{python_module cached-property}
 BuildRequires:  %{python_module cffi >= 1.4.0}
 BuildRequires:  %{python_module devel}
@@ -68,6 +69,7 @@
 %files %{python_files}
 %license COPYING
 %doc README.rst
-%{python_sitearch}/*
+%{python_sitearch}/pygit2
+%{python_sitearch}/pygit2-%{version}*-info
 
 %changelog

++++++ support-libgit2-1.6.patch ++++++
Index: pygit2-1.11.1/src/types.h
===================================================================
--- pygit2-1.11.1.orig/src/types.h
+++ pygit2-1.11.1/src/types.h
@@ -32,8 +32,8 @@
 #include <Python.h>
 #include <git2.h>
 
-#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 5)
-#error You need a compatible libgit2 version (1.5.x)
+#if !(LIBGIT2_VER_MAJOR == 1 && LIBGIT2_VER_MINOR == 6)
+#error You need a compatible libgit2 version (1.6.x)
 #endif
 
 /*

Reply via email to