Red Hat Bugzilla – Bug 192158
utrac: does not honor $RPM_OPT_FLAGS, useless debuginfo package
Last modified: 2007-11-30 17:11:33 EST
utrac doesn't honor $RPM_OPT_FLAGS, which means it's built without any compiler
provided security features and other distro wide CFLAGS.
Also, the debuginfo package is useless because the binary is explicitly stripped.
One way to fix these issues is to add these to %prep:
sed -i -e 's/^\(CFLAGS.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile
sed -i -e '/^\s*strip /d' Makefile
Fixed. Thanks for report.