Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package med-tools for openSUSE:Factory checked in at 2026-11-21 21:45:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/med-tools (Old) and /work/SRC/openSUSE:Factory/.med-tools.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "med-tools" Sat Nov 21 21:45:30 2026 rev:9 rq:1398949 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/med-tools/med-tools.changes 2025-03-25 22:23:09.261329570 +0100 +++ /work/SRC/openSUSE:Factory/.med-tools.new.1340718/med-tools.changes 2026-11-21 21:46:00.604125634 +0100 @@ -1,0 +2,15 @@ +Fri Nov 20 09:35:00 UTC 2026 - Ana Guerrero <[email protected]> + +- Stop downloading the Fedora patches via URLs in the spec file and + use the committed local copies instead. Otherwise the + download_files service fails whenever Fedora regenerates a patch + and this happens often changing only the timestamps. + +------------------------------------------------------------------- +Mon Nov 16 15:26:00 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Update med-tools-python3_13.patch: replace obsolete Python 2 calls + (PyString_FromString, PyInt_FromLong) with Python 3 C API in + python/med_common.i. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ med-tools.spec ++++++ --- /var/tmp/diff_new_pack.GwdEDt/_old 2026-11-21 21:46:01.711172241 +0100 +++ /var/tmp/diff_new_pack.GwdEDt/_new 2026-11-21 21:46:01.713172325 +0100 @@ -1,7 +1,7 @@ # # spec file for package med-tools # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,12 +42,12 @@ Patch3: Fix-no_return_in_nonvoid_function.patch # PATCH-FIX-OPENSUSE Patch4: 0001-Fix-AppendOutput-signature-for-Swig-4.3.patch -# PATCH-FIX-UPSTREAM -Patch5: https://src.fedoraproject.org/rpms/med/raw/rawhide/f/hdf5-1.14.patch#/med-tools-hdf1_14.patch +# PATCH-FIX-UPSTREAM rebase based on ref:https://src.fedoraproject.org/rpms/med/blob/rawhide/f/hdf5-1.14.patch +Patch5: med-tools-hdf1_14.patch # PATCH-FIX-UPSTREAM rebase based on ref:https://src.fedoraproject.org/rpms/med/blob/rawhide/f/med-py3.13.patch Patch6: med-tools-python3_13.patch -# PATCH-FIX-UPSTREAM -Patch7: https://src.fedoraproject.org/rpms/med/raw/rawhide/f/med-gcc15.patch#/med-tools-gcc15.patch +# PATCH-FIX-UPSTREAM rebase based on ref:https://src.fedoraproject.org/rpms/med/blob/rawhide/f/med-gcc15.patch +Patch7: med-tools-gcc15.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc ++++++ med-tools-python3_13.patch ++++++ --- /var/tmp/diff_new_pack.GwdEDt/_old 2026-11-21 21:46:01.763174430 +0100 +++ /var/tmp/diff_new_pack.GwdEDt/_new 2026-11-21 21:46:01.767174599 +0100 @@ -24,5 +24,19 @@ if (pinst == NULL) printf("%s\n","Can't instanciate class $1_basetype"); $result=SWIG_AppendOutput($result, pinst); } - +Index: med-5.0.0/python/med_common.i +=================================================================== +--- med-5.0.0.orig/python/med_common.i ++++ med-5.0.0/python/med_common.i +@@ -14,8 +14,8 @@ + if ( result < 0 ) { + /* fprintf(stderr,"Code erreur MED : %2d\n",result); */ + PyObject* exobj = PyTuple_New(2); +- PyTuple_SetItem(exobj,0,PyString_FromString("Error returned from MEDfichier API (funcname).")); +- PyTuple_SetItem(exobj,1,PyInt_FromLong((long) result)); ++ PyTuple_SetItem(exobj,0,PyUnicode_FromString("Error returned from MEDfichier API (funcname).")); ++ PyTuple_SetItem(exobj,1,PyLong_FromLong((long) result)); + SWIG_Python_SetErrorObj(PyExc_RuntimeError,exobj); + SWIG_fail; + }
