How to prevent a binary from being stripped by rpmbuild?

Jan Kratochvil jan.kratochvil at
Sat Dec 10 12:35:40 UTC 2011

On Sat, 10 Dec 2011 13:20:37 +0100, Josh Boyer wrote:
> On Sat, Dec 10, 2011 at 4:52 AM, Jan Kratochvil <jan.kratochvil at> wrote:
> > rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> > See: /usr/lib/rpm/
> That's if debuginfo packages are enabled.  If they aren't it uses
> plain strip afaik.

    /usr/lib/rpm/redhat/brp-strip %{__strip} \


%__strip                /usr/bin/strip

I see, that is a bug.


More information about the devel mailing list