Eelko Berkenpies wrote:
rpmbuild -tb kmess-<version>.tar.gz
That uses the upstream specfile. While I haven't checked this particular
one, those tend to be absolute crap in general. They are often
autogenerated, often use some bizarre hacks to autogenerate file lists and
generally try to support every RPM-based distro under the sun (which tends
not to work reliably). The fact that they try using autopackage tools
during an RPM build also makes me shout "WTF???!!!".