Red Hat Bugzilla – Bug 511931
rpmlint not functioning as expected on spec files
Last modified: 2009-09-07 06:27:56 EDT
Created attachment 353862 [details]
spec file to check for error
Description of problem:
rpmlint does not show error/warning when the changelog release is not same as the release given in tag. It does not give an error when checked with the srpm created. The srpm is created with release number as the one mentioned in the tag and not the one mentioned in the changelog.
Version-Release number of selected component (if applicable):
[Package@Ankur SPECS]$ rpmlint -V
rpmlint version 0.87 Copyright (C) 1999-2007 Frederic Lepied, Mandriva
While packaging a font, keep the Release tag different from what you use in the changelog.
Steps to Reproduce:
1.create a spec
2.write a value for Release tag
3.write a different release value in the changelog
4.run rpmlint -i on the spec
error/warning for incoherent release number in changelog
Created attachment 353864 [details]
faulty spec file
this is the faulty spec that isnt returning an error. the other attachment is the original spec.
See CAVEATS in the rpmlint man page. About this particular case, incoherent-version-in-changelog check is done only on binary packages.
I'm changing the resolution to duplicate of #521624 as this is just another occurence of the common problem that is described there.
*** This bug has been marked as a duplicate of bug 521624 ***