diff options
author | Todd <[email protected]> | 2024-04-22 17:55:41 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-22 17:55:41 -0700 |
commit | 87d81d1d13e0ef848d2d533a4f12f5de41026e73 (patch) | |
tree | ab590c9750d6c4bc15cb61cc0f990383f5bcaa38 /rpm | |
parent | 4036b8d027fb7fe1a629b08a0d23cac975ab2eb9 (diff) |
zfs-kmod: fix empty rpm requires/conflicts
Fix an error in zfs-kmod.spec that causes kmod-zfs packages not to
include the correct RPM requires/conflicts relationships. With this
change applied, RPM correctly no longer allows kmod-zfs & zfs-dkms
packages to be installed together.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Todd Seidelmann <[email protected]>
Closes #16121
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/redhat/zfs-kmod.spec.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/redhat/zfs-kmod.spec.in b/rpm/redhat/zfs-kmod.spec.in index 9c836786b..876c198c6 100644 --- a/rpm/redhat/zfs-kmod.spec.in +++ b/rpm/redhat/zfs-kmod.spec.in @@ -17,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # by generating a preamble text file which kmodtool can append to the spec file. %(/bin/echo -e "\ Requires: @PACKAGE@ = %{version}\n\ -Conflicts: @PACKAGE@-dkms) +Conflicts: @PACKAGE@-dkms" > %{_sourcedir}/kmod-preamble) # LDFLAGS are not sanitized by arch/*/Makefile for these architectures. %ifarch ppc ppc64 ppc64le aarch64 |