Accepting request 1297474 from home:fstegmeier:branches:security:forensics

- Add fix-rename-bool-variable.patch gcc 15 support
- update to v0~20250729
	* Pre-release of version 20250729, for testing purposes, based on libtsk 4.14.0

OBS-URL: https://build.opensuse.org/request/show/1297474
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-tsk?expand=0&rev=19
This commit is contained in:
2025-08-04 15:54:56 +00:00
committed by Git OBS Bridge
parent 897e3dec8d
commit 881274ea10
5 changed files with 96 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tsk
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,10 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
%define timestamp 20210419
%define timestamp 20250729
Name: python-tsk
Version: 0~%{timestamp}
@@ -27,6 +28,8 @@ Summary: Python bindings for tsk - The SleuthKit
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
#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 +50,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
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-%{timestamp}
# remove unused libraries with incompatible license, use libtalloc from main repositories
# rm -rf pytsk talloc
# rm -rf pytsk talloc.new