mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
fix misplaced quotes in kmod-preamble
rpm/redhat/zfs-kmod.spec.in has a typo in the shell code that creates the kmod-preamble file. This typo results in the preamble file having the wrong name, ./SOURCES/kmod-preamblenObsoletes and missing the Obsoletes clause that has become part of the name. Because the filename is incorrect, the built package does not have "obsoletes" or "conflicts" set. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Olaf Faaland <faaland1@llnl.gov> Closes #11851
This commit is contained in:
parent
d5ef91af02
commit
cfd4a25fce
@ -17,8 +17,8 @@ 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\n\n" > %{_sourcedir}/kmod-preamble\n\
|
||||
Obsoletes: spl-kmod)
|
||||
Conflicts: @PACKAGE@-dkms\n\
|
||||
Obsoletes: spl-kmod\n\n" > %{_sourcedir}/kmod-preamble)
|
||||
|
||||
# LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
|
||||
%ifarch ppc ppc64 ppc64le aarch64
|
||||
|
Loading…
Reference in New Issue
Block a user