From af718269bb0c24d9376337f12d9a48738d2f0f978d516391a40c852ea9cb0dbb Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Sat, 5 Aug 2023 14:39:54 +0000 Subject: [PATCH] Accepting request 1102476 from home:gregfreemyer:Tools-for-forensic-boot-cd - add conditional to only run python tests for factory. 15.4 and 15.5 are both failing for APFS filesystem checks OBS-URL: https://build.opensuse.org/request/show/1102476 OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=72 --- python-dfVFS.changes | 5 +++++ python-dfVFS.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-dfVFS.changes b/python-dfVFS.changes index 01da26e..fcc15e3 100644 --- a/python-dfVFS.changes +++ b/python-dfVFS.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Aug 5 03:24:52 UTC 2023 - Greg Freemyer + +- add conditional to only run python tests for factory. 15.4 and 15.5 are both failing for APFS filesystem checks + ------------------------------------------------------------------- Fri Jul 28 22:11:04 UTC 2023 - Greg Freemyer diff --git a/python-dfVFS.spec b/python-dfVFS.spec index c6be478..c781261 100644 --- a/python-dfVFS.spec +++ b/python-dfVFS.spec @@ -14,6 +14,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} %define timestamp 20221224 @@ -127,9 +128,11 @@ chmod -x run_tests.py %fdupes %{buildroot} %check +%if 0%{?suse_version} && 0%{?suse_version} > 1550 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} $python ./run_tests.py } +%endif %files %{python_files} %license LICENSE