summaryrefslogtreecommitdiffstats
path: root/rpm/generic/zfs-dkms.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpm/generic/zfs-dkms.spec.in')
-rw-r--r--rpm/generic/zfs-dkms.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpm/generic/zfs-dkms.spec.in b/rpm/generic/zfs-dkms.spec.in
index 0a6935516..e0c410c68 100644
--- a/rpm/generic/zfs-dkms.spec.in
+++ b/rpm/generic/zfs-dkms.spec.in
@@ -32,6 +32,13 @@ Obsoletes: spl-dkms
Provides: %{module}-kmod = %{version}
AutoReqProv: no
+%if 0%{?rhel}%{?fedora}%{?suse_version}
+# We don't directly use it, but if this isn't installed, rpmbuild as root can
+# crash+corrupt rpmdb
+# See issue #12071
+BuildRequires: ncompress
+%endif
+
%description
This package contains the dkms ZFS kernel modules.