Koji builds the SRPM in a fairly empty environment. Not all rpm macro definitions may be available at that time. The built SRPM should not contain unexpanded macros in any text field like %description. ---- We have received this ticket as a part of our comparative testing tool - rpmguard: https://fedorahosted.org/autoqa/ticket/108 We believe this is more likely concern of rpmlint so we redirect the request here.
rpmlint should already do that for summary, description, group, buildhost, license, and changelog. Do you have an reproducer where it doesn't? I suppose more tags could be added to the list of checked ones though. $ rpm -qp --qf="%{DESCRIPTION}\n" foo-1.0-1.fc11.src.rpm Foo %foo bar $ rpmlint foo-1.0-1.fc11.src.rpm foo.src: W: macro-in-%description %foo $ rpmlint -I macro-in-%description macro-in-%description: This tag contains something that looks like an unexpanded macro; this is often the sign of a misspelling. Please check your specfile.
Adding Adam Jackson to needinfo as he is the reporter of the original bug.
Upstream rpmlint svn now checks for unexpanded macros in a lot more tags, this will most likely be in rpmlint 0.93 once released. http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1697
Closing as rawhide (0.93-2 will hopefully appear in the next push), feel free to reopen or submit another bug if some tags for which this would be beneficial got left out.
rpmlint-0.93-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rpmlint-0.93-2.fc12
rpmlint-0.94-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rpmlint-0.94-1.fc12
rpmlint-0.94-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.