Getting rpmbuild to strip all files.
devzero2000
pinto.elia at gmail.com
Wed Mar 24 10:36:37 UTC 2010
On Tue, Mar 23, 2010 at 9:33 PM, Ben Greear <greearb at candelatech.com> wrote:
> Hello!
>
> I have a package that has lots of .so files in it. Is there
> a way to compile the source with debugging but have rpmbuild strip every
> file before packaging into the .rpm?
>
> This is the default buildpolicy in general (this is on RHEL 5 for example)
rpm -E '%__os_install_post'
/usr/lib/rpm/redhat/brp-compress
/usr/lib/rpm/redhat/brp-strip /usr/bin/strip
/usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
/usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip
/usr/bin/objdump
/usr/lib/rpm/brp-python-bytecompile
/usr/lib/rpm/redhat/brp-java-repack-jars
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100324/6c7bb3f3/attachment.htm>
More information about the Rpm-list
mailing list