Red Hat Bugzilla – Bug 216166
-debuginfo package useless
Last modified: 2007-11-30 17:11:49 EST
Description of problem: stratagus build ignores %{optflags} resulting in a useless debuginfo package. This can be fixed by adding this line at the end of %prep: sed -i 's/DEBUG_CFLAGS=.*/DEBUG_CFLAGS="%{optflags}"/g' configure
Done.