xvattr's build doesn't appear to be honoring $RPM_OPT_FLAGS, reusulting in compiler security features not being used and a more or less useless debuginfo package. More info: http://fedoraproject.org/wiki/Packaging/Debuginfo Possible fix, in %prep: sed -i -e 's/^\(CFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' Makefile*
I don't like exposing RPM_OPT_FLAGS inside generic sources, so I've done this instead (same result of course) : # Append GTK CFLAGS to CFLAGS instead of overwriting CFLAGS (optflags get used) %{__perl} -pi -e 's|^CFLAGS = (.*)|CFLAGS += $1|g' Makefile* Packages for FC-4, FC-5 and devel will be rebuilt now.