diff --git a/python-tsk.changes b/python-tsk.changes index fd7e67b..d8bfc18 100644 --- a/python-tsk.changes +++ b/python-tsk.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 22 10:38:29 UTC 2025 - John Paul Adrian Glaubitz + +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Limit Python files matched in %files section + ------------------------------------------------------------------- Fri Aug 1 14:49:21 UTC 2025 - Felix Stegmeier diff --git a/python-tsk.spec b/python-tsk.spec index 5bf894d..72e0f53 100644 --- a/python-tsk.spec +++ b/python-tsk.spec @@ -34,7 +34,9 @@ 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 pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libstdc++-devel @@ -60,10 +62,10 @@ The Sleuthkit is a forensic filesystem analysis framework (http://www.sleuthkit. %build CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -75,6 +77,7 @@ $python ./run_tests.py %files %{python_files} %doc README %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/pytsk3-%{version}.dist-info +%{python_sitearch}/pytsk3.*.so %changelog