Skip to content

Commit

Permalink
remove with gui and debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jw3 committed Jan 28, 2025
1 parent 2d2b7bc commit a54db50
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/srpm/fapolicy-analyzer.el9.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}

Expand Down

0 comments on commit a54db50

Please sign in to comment.