Hi,
On Wed, Jul 8, 2009 at 12:35, Luigi Iotticentos1@iotti.biz wrote:
I usually rebuild some CentOS rpm packges with some changes I need. I noticed that I obtain slightly larger packages than the ones found in the centOS distribution, even if I rebuild a source rpm without changing anything. I looked in it, and it turned out that my shared libraries are not stripped, where the ones found in your packages are.
If you install the "redhat-rpm-config" package the binaries/libraries will be stripped and the stripped debug information will be put on a "-debuginfo" RPM, this will be done automatically for you. I suggest you install that RPM instead of modifying /etc/rpm/macros on your own.
HTH, Filipe