strip in rpmbuild

Jos Vos jos at xos.nl
Sat Jun 24 19:26:06 UTC 2006


On Sat, Jun 24, 2006 at 08:25:34PM +0200, Erwin Rol wrote:

> The question is, how can i control what files are to be stripped and
> what "strip" to use ?

You can disable stripping by (for example):

    %define __spec_install_post /usr/lib/rpm/brp-compress
    %define __os_install_post /usr/lib/rpm/brp-compress

See the original definition of these macros for what is left out now.
You can also add your own version of /usr/lib/rpm/xos/brp-strip there,
if you want.

-- 
--    Jos Vos <jos at xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204




More information about the devel mailing list