Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Oden Eriksson

On Sundayen den 4 November 2001 12.44, Alexander Skwar wrote:
 Hi!

 How can I build a RPM but have the binaries be NOT stripped, ie.
 /usr/lib/rpm/brp-strip (or even /usr/lib/rpm/brp-mandrake) should not be
 run?

 Alexander Skwar

Taken from the latest redhat kernel spec file:

# disable build root strip policy
%define __spec_install_post /usr/lib/rpm/brp-compress || :

Chears.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden.
| Mandrake Linux release 8.2 (Cooker) for i586
| Current uptime with kernel 2.4.13-2mdksmp: 1:52
| cpu0 @ 814.28 bm, fan 4560 rpm, temp +31.0°C
| cpu1 @ 815.92 bm, fan 4500 rpm, temp +30°C




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Randy Kramer

Alexander Skwar wrote:
 How can I build a RPM but have the binaries be NOT stripped, ie.
 /usr/lib/rpm/brp-strip (or even /usr/lib/rpm/brp-mandrake) should not be
 run?

For us uninformed, what does it mean to have the binaries stripped?

Thanks,
Randy Kramer




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Oden Eriksson

On Sundayen den 4 November 2001 14.22, Randy Kramer wrote:
 Alexander Skwar wrote:
  How can I build a RPM but have the binaries be NOT stripped, ie.
  /usr/lib/rpm/brp-strip (or even /usr/lib/rpm/brp-mandrake) should not be
  run?

 For us uninformed, what does it mean to have the binaries stripped?

man strip

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden.
| Mandrake Linux release 8.2 (Cooker) for i586
| Current uptime with kernel 2.4.13-2mdksmp: 4:03
| cpu0 @ 814.28 bm, fan 4500 rpm, temp +31.0°C
| cpu1 @ 815.92 bm, fan 4500 rpm, temp +30°C




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Robert L Martin

For us uninformed, what does it mean to have the binaries stripped?
--
binaries stripped = does not have extra debug symbols included
and other devel stuff is removed (saves space/memory)






Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Randy Kramer

Oden Eriksson wrote:
 On Sundayen den 4 November 2001 14.22, Randy Kramer wrote:
  For us uninformed, what does it mean to have the binaries stripped?
 
 man strip

Oden,

Thanks! (Sorry, I should have tried that!)

Randy Kramer




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Alexander Skwar

So sprach »Randy Kramer« am 2001-11-04 um 08:22:54 -0500 :
 For us uninformed, what does it mean to have the binaries stripped?

As far as I understand it, strip removes normally unneeded segments
from a binary.  However, if you want/need to debug a program, these
segments are needed.

Or something like this :)

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 22 hours 58 minutes




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Alexander Skwar

So sprach »Pixel« am 2001-11-04 um 16:25:56 +0100 :
 Oden Eriksson [EMAIL PROTECTED] writes:
 
  On Sundayen den 4 November 2001 12.44, Alexander Skwar wrote:
  
   How can I build a RPM but have the binaries be NOT stripped, ie.
   /usr/lib/rpm/brp-strip (or even /usr/lib/rpm/brp-mandrake) should not be
   run?
  
  Taken from the latest redhat kernel spec file:
  
  # disable build root strip policy
  %define __spec_install_post /usr/lib/rpm/brp-compress || :
 
 and for special cases, use
 
 export EXCLUDE_FROM_STRIP=ocamldebug ocamlbrowser

Nice, thanks a lot!

However, I found yet another way:

%define __os_install_post   %{nil}

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.iso-top.de  | Jabber: [EMAIL PROTECTED]
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 23 hours 9 minutes




Re: [Cooker] Building unstripped RPM?

2001-11-04 Thread Pixel

Oden Eriksson [EMAIL PROTECTED] writes:

 On Sundayen den 4 November 2001 12.44, Alexander Skwar wrote:
 
  How can I build a RPM but have the binaries be NOT stripped, ie.
  /usr/lib/rpm/brp-strip (or even /usr/lib/rpm/brp-mandrake) should not be
  run?
 
 Taken from the latest redhat kernel spec file:
 
 # disable build root strip policy
 %define __spec_install_post /usr/lib/rpm/brp-compress || :

and for special cases, use

export EXCLUDE_FROM_STRIP=ocamldebug ocamlbrowser

(from ocaml.spec)