xdemorse-2.7-1 is not built with $RPM_OPT_FLAGS. Incidentally the upstream CFLAGS are close to $RPM_OPT_FLAGS, but at least -g is missing which means a useless -debuginfo package. 2.1-4 didn't have this problem.
Cc: Richard who did the last update in which this issue surfaced.
Would adding back the call to ./autogen.sh help matters?
Looks like it would.
(In reply to Ville Skyttä from comment #3) > Looks like it would. ...result in a useful -debuginfo package, I didn't check anything else. If you add it back, I suggest adding a comment about it as there's no obvious reason for it just by reading the specfile.