Is it possible that the nostrip macro is related to that? Just a gues. %undefine _build_create_debug %define __arch_install_post export NO_BRP_STRIP_DEBUG=true