Skip to content

kernel.spec: remove "RPM_VMLINUX_H=$DevelDir/vmlinux.h" code chunk in %install

Remove this code block in %install: if [ -f $DevelDir/vmlinux.h ]; then RPM_VMLINUX_H=$DevelDir/vmlinux.h fi

It was added by commit b4cac228 kernel.spec: Add support to use vmlinux.h

The commit added two copies of it. The second instance, in %install, does not actually work: $DevelDir is not set, so (unless your root indeed has a /vmlinux.h file) RPM_VMLINUX_H is not set, but it would not be used in %install anyway.

Signed-off-by: Denys Vlasenko dvlasenk@redhat.com

Merge request reports