Mailinglist Archive: opensuse-packaging (47 mails)

< Previous Next >
Re: [opensuse-packaging] Stripping executables
  • From: Wolfgang Rosenauer <wolfgang@xxxxxxxxxxxxx>
  • Date: Fri, 26 Sep 2008 09:56:36 +0200
  • Message-id: <48DC95B4.1060600@xxxxxxxxxxxxx>
Marcus Rueckert schrieb:
On 2008-09-23 22:05:06 +0200, Michael Behrisch wrote:
Now, what can I do to strip my executables before packaging them?
Do I have to call strip by hand or I am just overlooking something?

you can enable debuginfo packages for your project


osc meta prj -e yourproject

and add this block above the first <repository> block (without the [[[]]])

that will strip the binaries and create additional packages for easier

And if it should not be project wide you could use the %debug_package
macro in your spec file (and add -g to your buildflags since
$RPM_OPT_FLAGS wouldn't have it in that case).

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups