From a54db5018dfe832c62b02850c4ac6d4877d4a8a5 Mon Sep 17 00:00:00 2001 From: John Wass Date: Mon, 27 Jan 2025 21:30:43 -0500 Subject: [PATCH] remove with gui and debug --- scripts/srpm/fapolicy-analyzer.el9.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/srpm/fapolicy-analyzer.el9.spec b/scripts/srpm/fapolicy-analyzer.el9.spec index ac0bb1e48..e5e325ccb 100644 --- a/scripts/srpm/fapolicy-analyzer.el9.spec +++ b/scripts/srpm/fapolicy-analyzer.el9.spec @@ -134,8 +134,6 @@ Requires: mesa-dri-drivers GUI Tools to assist with the configuration and management of fapolicyd. %prep - -%if %{with gui} # An unprivileged user cannot write to the default registry location of # /usr/share/cargo/registry so we work around this by linking the contents # of the default registry into a new writable location, and then extract @@ -145,9 +143,9 @@ GUI Tools to assist with the configuration and management of fapolicyd. # The crates in the vendor tarball are collected from Rawhide. CARGO_REG_DIR=%{_builddir}/vendor-rs mkdir -p ${CARGO_REG_DIR} +ls %{cargo_registry} for d in %{cargo_registry}/*; do ln -sf ${d} ${CARGO_REG_DIR} || true; done tar -xzf %{SOURCE2} -C ${CARGO_REG_DIR} --skip-old-files --strip-components=2 -%endif %cargo_prep -v ${CARGO_REG_DIR}