Skip to content

Commit

Permalink
rpm: dkms: Include other kernel-devel packages for spec requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Nicholas Lim <nicknitewolf@gmail.com>
  • Loading branch information
niclimcy committed Dec 21, 2024
1 parent 1acd246 commit 9d9f5b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpm/generic/zfs-dkms.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Requires(preun): dkms >= 2.2.0.3
Requires: gcc, make, perl, diffutils
Requires(post): gcc, make, perl, diffutils
%if 0%{?rhel}%{?fedora}%{?mageia}%{?suse_version}%{?openEuler}
Requires: kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999
Requires(post): kernel-devel >= @ZFS_META_KVER_MIN@, kernel-devel <= @ZFS_META_KVER_MAX@.999
Conflicts: kernel-devel < @ZFS_META_KVER_MIN@, kernel-devel > @ZFS_META_KVER_MAX@.999
Requires: (kernel-devel >= @ZFS_META_KVER_MIN@ or kernel-longterm-devel >= @ZFS_META_KVER_MIN@ or kernel-16k-devel >= @ZFS_META_KVER_MIN@) and (kernel-devel <= @ZFS_META_KVER_MAX@.999 or kernel-longterm-devel <= @ZFS_META_KVER_MAX@.999 or kernel-16k-devel <= @ZFS_META_KVER_MAX@.999)
Requires(post): (kernel-devel >= @ZFS_META_KVER_MIN@ or kernel-longterm-devel >= @ZFS_META_KVER_MIN@ or kernel-16k-devel >= @ZFS_META_KVER_MIN@) and (kernel-devel <= @ZFS_META_KVER_MAX@.999 or kernel-longterm-devel <= @ZFS_META_KVER_MAX@.999 or kernel-16k-devel <= @ZFS_META_KVER_MAX@.999)
Conflicts: (kernel-devel >= @ZFS_META_KVER_MIN@ or kernel-longterm-devel >= @ZFS_META_KVER_MIN@ or kernel-16k-devel >= @ZFS_META_KVER_MIN@) and (kernel-devel <= @ZFS_META_KVER_MAX@.999 or kernel-longterm-devel <= @ZFS_META_KVER_MAX@.999 or kernel-16k-devel <= @ZFS_META_KVER_MAX@.999)
Obsoletes: spl-dkms <= %{version}
%endif
Provides: %{module}-kmod = %{version}
Expand Down

0 comments on commit 9d9f5b8

Please sign in to comment.