Vitaly Chikunov
a2e3f87824
`strip' is called by `install -s` that could occur in unpatched Makefiles, breaking debuginfo generation. Try to catch `install` invocations via: - %__install macro used in `make INSTALL=`. - Prefix PATH with `/usr/libexec/rpm-build` with install and strip wrappers. Suggested-by: Dmitry V. Levin <ldv@altlinux.org> Reviewed-by: Dmitry V. Levin <ldv@altlinux.org>
5 lines
118 B
Bash
Executable File
5 lines
118 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -- `rpm --eval %__install` "$@"
|
|
RPM_INSTALL_STRIP=ignore PATH="/usr/libexec/rpm-build:$PATH" exec "$@"
|