Re: Avoiding strip when building

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

 



On Mon, 11 Oct 2004, Hal Wine wrote:

> Panu Matilainen wrote, around 10/08/2004 05:12 AM:
> > On Fri, 8 Oct 2004, Carl Gherardi wrote:
> > 
> > 
> >>Hey Guys,
> >>
> >>I've been searching for a while now with no success how do you prevent
> >>an rpm build from stripping the binary? 
> >>
> >>I debated setting %__strip to be /bin/true, but that just feels dirty.
> > 
> > 
> > %define __spec_install_post :
> 
> or
>   %define __spec_install_post /usr/lib/rpm/brp-compress
> to at least to that
> 
OK, this is heinous, but you can add the following to the end of your
%install script:

	exit 0

It heinous because if some later time the __spec_install_post script 
gets defined to be something more than just stripping you would miss out
of that (but on the other hand "%defined __spec_install_post :" does just 
the same thign.

Cheers...james
>
 _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list
> 
> ----
> This message has been scanned by BitDefender
> and found to be clean.
> 
> 
> 

----
This message has been scanned by BitDefender
and found to be clean.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux