]> granicus.if.org Git - zfs/commitdiff
kmod-zfs-devel rpm should provide kmod-spl-devel
authorOlaf Faaland <faaland1@llnl.gov>
Wed, 19 Jun 2019 18:44:44 +0000 (11:44 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Jun 2019 18:44:44 +0000 (11:44 -0700)
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 <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #8930

rpm/redhat/zfs-kmod.spec.in

index 473f2d0325099ed5d5c93865d5fe471b1e03fadb..f632c4867e6349ef67bcbc5b79f390ee5a4e67de 100644 (file)
@@ -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.