http://www.redhat.com/archives/fedora-maintainers/2007-January/msg00339.html xkeycaps is built without $RPM_OPT_FLAGS. Quick and dirty fix attached.
Created attachment 147278 [details] Use $RPM_OPT_FLAGS
Applied. Thanks.