spec: when fuse-less, useless symlinks are gone

This commit is contained in:
Roman Lebedev 2025-11-21 14:27:26 +03:00
parent e06109e9b1
commit 6811f1bba1
No known key found for this signature in database
GPG Key ID: 083C3EBB4A1689E0

View File

@ -253,11 +253,6 @@ cp %{_sourcedir}/cargo.config $PWD/.cargo/config.toml
# Purge unneeded debian stuff
rm -rfv %{buildroot}/%{_datadir}/initramfs-tools
%if ! %{with fuse}
# Purge useless symlink stubs
rm -rf %{buildroot}%{_sbindir}/*.fuse.bcachefs
%endif
%if 0%{?_with_kmp} != 0
for kmp_flavor in %{?flavors_to_build}; do
%make_build \