From: Olaf Faaland Date: Wed, 19 Jun 2019 18:44:44 +0000 (-0700) Subject: kmod-zfs-devel rpm should provide kmod-spl-devel X-Git-Tag: zfs-0.8.2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b0327bc5795b5ae8b1926d90a9b6b8b10433f72;p=zfs 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 --- 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.