mirror of
https://github.com/versity/scoutfs.git
synced 2026-08-22 07:06:47 +00:00
Allow building the kmod pinned to an exact kver by defining
%{per_kver}=1 at build time:
- Package names use conventions used elsewhere in RHEL to indicate the
kernel version built against
- A virtual package, kmod-scoutfs, preserves the existing name and also
makes it simple to install with yum via repository
- Strict requirements on the kver built against in accordance with
conventions
- Disabling automatic use of weak-modules
If not defining per_kver to 1, legacy behavior is preserved, meaning we
can deliver packages for the same scoutfs commit in both styles
depending on customer needs.
Signed-off-by: Greg Cymbalski <greg.cymbalski@versity.com>