Revert "Disable FUSE building for RPM's"

This is the wrong way to do it.

This reverts commit 2380632ae17ea3edd5ecf8c3423a053dc8d666e5.
This commit is contained in:
Neal Gompa 2025-11-21 04:35:38 -05:00
parent d125e14f14
commit ef6603aa96

View File

@ -13,10 +13,7 @@
# Disable LTO for now until more testing can be done.
%global _lto_cflags %{nil}
# We don't want FUSE parts built.
# BCACHEFS_FUSE=1
%global make_opts VERSION="%{version}" BUILD_VERBOSE=1 PREFIX=%{_prefix} ROOT_SBINDIR=%{_sbindir}
%global make_opts VERSION="%{version}" BCACHEFS_FUSE=1 BUILD_VERBOSE=1 PREFIX=%{_prefix} ROOT_SBINDIR=%{_sbindir}
%global MSRV 1.77
%global MINIMAL_KERNEL_VERSION_FOR_TOOLS 6.11.3
@ -85,7 +82,7 @@ BuildRequires: kernel-headers >= %{MINIMAL_KERNEL_VERSION_FOR_TOOLS}
BuildRequires: libaio-devel >= 0.3.111
BuildRequires: libattr-devel
BuildRequires: pkgconfig(blkid)
# BuildRequires: pkgconfig(fuse3) >= 3.7
BuildRequires: pkgconfig(fuse3) >= 3.7
BuildRequires: pkgconfig(libkeyutils)
BuildRequires: pkgconfig(liblz4)
BuildRequires: pkgconfig(libsodium)
@ -129,21 +126,21 @@ check, modify and correct any inconsistencies in the bcachefs filesystem.
# ----------------------------------------------------------------------------
# %package -n fuse-bcachefs
# Summary: FUSE implementation of bcachefs
# Requires: %{name}%{?_isa} = %{version}-%{release}
#
# BuildArch: noarch
#
# %description -n fuse-bcachefs
# This package is an experimental implementation of bcachefs leveraging FUSE to
# mount, create, check, modify and correct any inconsistencies in the bcachefs filesystem.
#
# %files -n fuse-bcachefs
# %license COPYING
# %{_sbindir}/mount.fuse.bcachefs
# %{_sbindir}/fsck.fuse.bcachefs
# %{_sbindir}/mkfs.fuse.bcachefs
%package -n fuse-bcachefs
Summary: FUSE implementation of bcachefs
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildArch: noarch
%description -n fuse-bcachefs
This package is an experimental implementation of bcachefs leveraging FUSE to
mount, create, check, modify and correct any inconsistencies in the bcachefs filesystem.
%files -n fuse-bcachefs
%license COPYING
%{_sbindir}/mount.fuse.bcachefs
%{_sbindir}/fsck.fuse.bcachefs
%{_sbindir}/mkfs.fuse.bcachefs
# ----------------------------------------------------------------------------