Re: How to prevent a binary from being stripped by rpmbuild?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> wrote:
> > rpmbuild uses eu-strip, not strip.  Therefore elfutils, not binutils.
> > See: /usr/lib/rpm/find-debuginfo.sh
> 
> That's if debuginfo packages are enabled.  If they aren't it uses
> plain strip afaik.

/usr/lib/rpm/redhat/macros
    %{!?__debug_package:\
    /usr/lib/rpm/redhat/brp-strip %{__strip} \

/usr/lib/rpm/brp-strip:
STRIP=${1:-strip}

/usr/lib/rpm/macros:
%__strip                /usr/bin/strip

I see, that is a bug.


Jan
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux