From 9612f3120e03aa0ca3ddfa0797337b8af8ceacaf Mon Sep 17 00:00:00 2001 From: Murilo Souza <89797201+mufeso@users.noreply.github.com> Date: Tue, 13 Oct 2026 23:15:34 -0400 Subject: [PATCH] Ship oscap-run-sce-script with the SCE engine The SCE engine (src/SCE/sce_engine.c, packaged in engine-sce) falls back to oscap-run-sce-script when an SCE script cannot be executed, for example when /tmp is mounted noexec. The helper was packaged in utils through the %{_bindir}/* glob, and engine-sce does not require utils, so SCE checks ended in error on systems without utils. Move the helper to the engine-sce subpackage, next to its only caller. Fixes #2414 --- openscap.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openscap.spec b/openscap.spec index edccd6100b..25c647ada1 100644 --- a/openscap.spec +++ b/openscap.spec @@ -195,9 +195,11 @@ pathfix.py -i %{__python3} -p -n $RPM_BUILD_ROOT%{_bindir}/scap-as-rpm %exclude %{_bindir}/oscap %exclude %{_bindir}/oscap-docker %exclude %{_bindir}/oscap-chroot +%exclude %{_bindir}/oscap-run-sce-script %files engine-sce %{_libdir}/libopenscap_sce.so.* +%{_bindir}/oscap-run-sce-script %files containers %{_bindir}/oscap-docker