[CentOS] Force to strip all symbols from ELFs when using rpmbuild on CentOS

Sun Jun 9 21:47:43 UTC 2013
Bob Marcan <bob.marcan at gmail.com>

On Sun, 09 Jun 2013 22:03:40 +0200
Santi Saez <santi at woop.es> wrote:
> When "redhat-rpm-config" package is installed, %__os_install_post 
> variable is modified and find-debuginfo.sh is executed, this script will 
> remove all symbols, but it will *also* build "-debug" packages, and 
> that's not what I'm looking for.
You can avoid generating "-debug" packages with:
%define debug_package %{nil}

BR, Bob