From 5b0327bc5795b5ae8b1926d90a9b6b8b10433f72 Mon Sep 17 00:00:00 2001 From: Olaf Faaland Date: Wed, 19 Jun 2019 11:44:44 -0700 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Signed-off-by: Olaf Faaland Closes #8930 --- rpm/redhat/zfs-kmod.spec.in | 1 + 1 file changed, 1 insertion(+) 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.