Package: spl
Version: 0.7.6-1
Severity: normal
Tags: patch

--- Please enter the report below this line. ---
The splat framework is not used by most users, and is
the primary component of the spl package.

The attached patch reduces the dependency on spl from
Recommends to Suggests, and moves the spl-module-parameters
manual page into the spl-dkms package.

It might make sense to rename spl to spl-test, mirroring the
zfs-test package.
commit 1ff2ecb142347571b1b015dd43c5cf725e6b934f
Author: Antonio Russo <[email protected]>
Date:   Sat Mar 31 15:08:36 2018 -0400

    Reduce dependency on spl, and move documentation

diff --git a/debian/control b/debian/control
index c3abf8d..3270bbb 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Depends: dkms (>> 2.2.1.0),
          libelf-dev,
          lsb-release,
          ${misc:Depends}
-Recommends: spl (>= ${source:Upstream-Version}),
+Suggests: spl (>= ${source:Upstream-Version}),
          linux-libc-dev (< 4.16)
 Provides: spl-modules
 Description: Solaris Porting Layer kernel modules for Linux
diff --git a/debian/control.in b/debian/control.in
index 02d3182..48f27fe 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -23,7 +23,7 @@ Depends: dkms (>> 2.2.1.0),
          libelf-dev,
          lsb-release,
          ${misc:Depends}
-Recommends: spl (>= ${source:Upstream-Version}),
+Suggests: spl (>= ${source:Upstream-Version}),
          @LINUX_COMPAT@
 Provides: spl-modules
 Description: Solaris Porting Layer kernel modules for Linux
diff --git a/debian/control.modules.in b/debian/control.modules.in
index 580b5e1..2bc0028 100644
--- a/debian/control.modules.in
+++ b/debian/control.modules.in
@@ -20,7 +20,7 @@ Package: spl-modules-_KVERS_
 Architecture: _ARCH_
 Provides: spl-modules
 Depends: linux-image-_KVERS_
-Recommends: spl (>= ${source:Upstream-Version})
+Suggests: spl (>= ${source:Upstream-Version})
 Description: Solaris Porting Layer kernel modules for Linux (kernel _KVERS_)
  The Solaris Porting Layer (SPL) is a Linux kernel module which provides
  many of the Solaris kernel APIs. This shim layer makes it possible to
diff --git a/debian/spl-dkms.install b/debian/spl-dkms.install
index d11e682..8564e69 100644
--- a/debian/spl-dkms.install
+++ b/debian/spl-dkms.install
@@ -1,3 +1,4 @@
 usr/src
 usr/src/spl-*/AUTHORS	usr/share/doc/spl-dkms/
 usr/src/spl-*/DISCLAIMER	usr/share/doc/spl-dkms/
+usr/share/man/man5/spl-module-parameters.5
diff --git a/debian/spl.install b/debian/spl.install
index 2e15100..4b75c78 100644
--- a/debian/spl.install
+++ b/debian/spl.install
@@ -1,2 +1,2 @@
 usr/sbin
-usr/share/man
+usr/share/man/man1/splat.1

Reply via email to