You usually need to use this for pre-built binaries %global debug_package %{nil} %global __strip /bin/true This should allow to remove lot of hack in this spec file. Please update and seek a reviewer, please don't let the review hang.