aboutsummaryrefslogtreecommitdiffstats
path: root/rpm
diff options
context:
space:
mode:
authorOlaf Faaland <[email protected]>2019-06-19 11:44:44 -0700
committerBrian Behlendorf <[email protected]>2019-06-19 11:44:44 -0700
commitc308b1dd6388d591d9eefd3e753ad2b04a053c8b (patch)
treeaf8cbe05b6ec341012da1887ea09faffa8e3d9ec /rpm
parent4ca457b065c6d95d9b6b2ed776f14e7e33257b94 (diff)
kmod-zfs-devel rpm should provide kmod-spl-devel
When configure is run with --with-spec=redhat, and rpms are built, the kmod-zfs-devel package is missing Provides: kmod-spl-devel = %{version} which is required by software such as Lustre which builds against zfs kmods. Adding it makes it easier for such software to build against both zfs-0.7 (where SPL is separate and may be missing) and zfs-0.8. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Olaf Faaland <[email protected]> Closes #8930
Diffstat (limited to 'rpm')
-rw-r--r--rpm/redhat/zfs-kmod.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/redhat/zfs-kmod.spec.in b/rpm/redhat/zfs-kmod.spec.in
index 473f2d032..f632c4867 100644
--- a/rpm/redhat/zfs-kmod.spec.in
+++ b/rpm/redhat/zfs-kmod.spec.in
@@ -41,6 +41,7 @@ This package contains the ZFS kernel modules.
%package -n kmod-%{kmod_name}-devel
Summary: ZFS kernel module(s) devel common
Group: System Environment/Kernel
+Provides: kmod-spl-devel = %{version}
%description -n kmod-%{kmod_name}-devel
This package provides the header files and objects to build kernel modules.