zfs-kmod: fix empty rpm requires/conflicts
Signed-off-by: Todd Seidelmann <18294602+seidelma@users.noreply.github.com>
This commit is contained in:
parent
f4f156157d
commit
72192945e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue