Description of problem: rpmlint gives errors/warnings even based on comments in a spec. The comments should be ignored by rpmlint Version-Release number of selected component (if applicable): [Ankur@localhost SPECS]$ rpm -q rpmlint rpmlint-0.97-1.fc13.noarch How reproducible: Add a comment to a spec which has an "rpmlint error" Steps to Reproduce: 1. add a comment which would otherwise be an error 2. run rpmlint Actual results: It gives warnings on the comment too Expected results: Comments should be ignored Additional info: Try this spec: http://ankursinha.fedorapeople.org/libgexiv2/libgexiv2.spec (attaching it for future reference) line 36 is a comment on ./configure. rpmlint gives: [Ankur@localhost SPECS]$ rpmlint libgexiv2.spec libgexiv2.spec:36: W: configure-without-libdir-spec
Created attachment 419276 [details] sample spec for testing
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1788 http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1789
rpmlint-0.98-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/rpmlint-0.98-1.fc13
rpmlint-0.98-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/rpmlint-0.98-1.fc12
rpmlint-0.98-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpmlint'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/rpmlint-0.98-1.fc13
rpmlint-0.98-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-0.98-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.