This is fairly hacky, but such is the state of "make check" and rpm. https://bugzilla.redhat.com/show_bug.cgi?id=955532