Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tsk for openSUSE:Factory checked in at 2025-08-05 14:21:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tsk (Old) and /work/SRC/openSUSE:Factory/.python-tsk.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tsk" Tue Aug 5 14:21:23 2025 rev:10 rq:1297555 version:20250729 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tsk/python-tsk.changes 2023-08-09 17:25:53.445618406 +0200 +++ /work/SRC/openSUSE:Factory/.python-tsk.new.1085/python-tsk.changes 2025-08-05 14:22:20.827897076 +0200 @@ -1,0 +2,8 @@ +Fri Aug 1 14:49:21 UTC 2025 - Felix Stegmeier <[email protected]> + +- Add fix-rename-bool-variable.patch gcc 15 support +- update to 20250729 + * Pre-release of version 20250729, for testing purposes, based on + libtsk 4.14.0 + +------------------------------------------------------------------- Old: ---- pytsk3-20210419.tar.gz New: ---- fix-rename-bool-variable.patch python-tsk.keyring pytsk3-20250729.tar.gz pytsk3-20250729.tar.gz.asc ----------(New B)---------- New: - Add fix-rename-bool-variable.patch gcc 15 support - update to 20250729 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tsk.spec ++++++ --- /var/tmp/diff_new_pack.Rqq0Ft/_old 2025-08-05 14:22:23.736018615 +0200 +++ /var/tmp/diff_new_pack.Rqq0Ft/_new 2025-08-05 14:22:23.740018782 +0200 @@ -1,7 +1,10 @@ # # spec file for package python-tsk # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2025 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 @@ -15,18 +18,21 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%{?sle15_python_module_pythons} -%define timestamp 20210419 +%{?sle15_python_module_pythons} Name: python-tsk -Version: 0~%{timestamp} +Version: 20250729 Release: 0 -Summary: Python bindings for tsk - The SleuthKit +Summary: Python bindings for tsk (The SleuthKit) # the included talloc library is LGPL 3 License: Apache-2.0 AND LGPL-3.0-or-later URL: https://github.com/py4n6/pytsk/ -Source0: https://files.pythonhosted.org/packages/source/p/pytsk3/pytsk3-%{timestamp}.tar.gz +Source: https://files.pythonhosted.org/packages/source/p/pytsk3/pytsk3-%{version}.tar.gz +Source2: https://github.com/py4n6/pytsk/releases/download/%{version}/pytsk3-%{version}.tar.gz.asc +Source3: python-tsk.keyring +#PATCH-FIX-UPSTREAM fix-rename-bool-variable.patch taken from https://github.com/py4n6/pytsk/pull/111/ +Patch0: fix-rename-bool-variable.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -47,7 +53,7 @@ The Sleuthkit is a forensic filesystem analysis framework (http://www.sleuthkit.org/). This project is a python 3 binding for the sleuthkit. %prep -%setup -q -n pytsk3-%{timestamp} +%autosetup -p1 -n pytsk3-%{version} # remove unused libraries with incompatible license, use libtalloc from main repositories # rm -rf pytsk talloc # rm -rf pytsk talloc.new @@ -67,7 +73,6 @@ } %files %{python_files} -%defattr(-,root,root) %doc README %license LICENSE %{python_sitearch}/* ++++++ fix-rename-bool-variable.patch ++++++ Index: pytsk3-20250729/talloc/replace.h =================================================================== --- pytsk3-20250729.orig/talloc/replace.h +++ pytsk3-20250729/talloc/replace.h @@ -11,7 +11,7 @@ #define _PUBLIC_ extern -typedef int bool; +typedef int talloc_bool; #define true 1 #define false 0 Index: pytsk3-20250729/talloc/talloc.c =================================================================== --- pytsk3-20250729.orig/talloc/talloc.c +++ pytsk3-20250729/talloc/talloc.c @@ -120,8 +120,8 @@ static void *autofree_context; * catching use after free errors when valgrind is too slow */ static struct { - bool initialised; - bool enabled; + talloc_bool initialised; + talloc_bool enabled; uint8_t fill_value; } talloc_fill; @@ -237,7 +237,7 @@ struct talloc_memlimit { size_t cur_size; }; -static bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size); +static talloc_bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size); static void talloc_memlimit_grow(struct talloc_memlimit *limit, size_t size); static void talloc_memlimit_shrink(struct talloc_memlimit *limit, @@ -1582,7 +1582,7 @@ _PUBLIC_ void *_talloc_realloc(const voi { struct talloc_chunk *tc; void *new_ptr; - bool malloced = false; + talloc_bool malloced = false; struct talloc_pool_hdr *pool_hdr = NULL; size_t old_size = 0; size_t new_size = 0; @@ -2672,7 +2672,7 @@ static size_t _talloc_total_limit_size(c old_limit, new_limit); } -static bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size) +static talloc_bool talloc_memlimit_check(struct talloc_memlimit *limit, size_t size) { struct talloc_memlimit *l; Index: pytsk3-20250729/sleuthkit/tsk/base/crc.h =================================================================== --- pytsk3-20250729.orig/sleuthkit/tsk/base/crc.h +++ pytsk3-20250729/sleuthkit/tsk/base/crc.h @@ -91,7 +91,7 @@ Status : Copyright (C) Ross Williams, 1 #ifndef DONE_STYLE typedef unsigned long ulong; -typedef unsigned bool; +typedef unsigned crc_bool; typedef unsigned char * p_ubyte_; #ifndef TRUE @@ -120,8 +120,8 @@ typedef struct int cm_width; /* Parameter: Width in bits [8,32]. */ ulong cm_poly; /* Parameter: The algorithm's polynomial. */ ulong cm_init; /* Parameter: Initial register value. */ - bool cm_refin; /* Parameter: Reflect input bytes? */ - bool cm_refot; /* Parameter: Reflect output CRC? */ + crc_bool cm_refin; /* Parameter: Reflect input bytes? */ + crc_bool cm_refot; /* Parameter: Reflect output CRC? */ ulong cm_xorot; /* Parameter: XOR this to output CRC. */ ulong cm_reg; /* Context: Context during execution. */ ++++++ pytsk3-20210419.tar.gz -> pytsk3-20250729.tar.gz ++++++ ++++ 115057 lines of diff (skipped)
