[CentOS] rpmbuild and stripping libraries

Mon Jun 6 18:16:50 UTC 2005
Maciej Żenczykowski <maze at cela.pl>

Hi,

I've just completed a rebuild of php and the rpms came out a _lot_ bigger 
than the originals... after comparisons it seems stuff isn't being
stripped, a comparison of sections on one library reveals the following:

>  21 .gnu_debuglink
<  21 .comment
<  22 .debug_aranges
<  23 .debug_pubnames
<  24 .debug_info
<  25 .debug_abbrev
<  26 .debug_line
<  27 .debug_frame
<  28 .debug_str
<  29 .debug_ranges
< tons of symbols

I'm sure someone knows how to get a normal small build?
Pointers?

Cheers,
MaZe.

PS. I used rpmbuild --rebuild php.src.rpm