restore binary mtime after debug package creation

Alfred Landrum alfred.landrum at
Fri Jul 27 15:11:24 UTC 2012

>If instead you want anyway the debuginfo and strip the binary but
>preserve timestamp define
>%global __strip strip -p # in the spec
>%__strip strip -p           #  in ~/.rpmmacros

Thank you - I just needed to additionally wrap the command in quotes as
well since it's passed to brp-strip-comment-note as an arg:

%global __strip "strip -p"

And that's working for me.

More information about the Rpm-list mailing list