Red Hat Bugzilla – Bug 528535
rpmdiff prints empty line when no change between packages
Last modified: 2010-02-19 19:09:50 EST
Description of problem:
When packages are not the same, rpmdiff prints differences, every difference on a single line. No line is empty.
When packages are the same (at least from rpmdiff's perspective), rpmdiff prints single empty line.
That's is not correct, in my opinion. It should not print anything in the second case. When there is some line printed, I expect something to be there.
As a matter of fact, my script, which I am building on top of rpmdiff, is crashing exactly because of this issue.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. $ rpmdiff package.rpm package.rpm
Fixed upstream, but I suggest making your script more robust against unexpected input. http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1664
Included in 0.92-1.
rpmlint-0.93-2.fc12 has been submitted as an update for Fedora 12.
rpmlint-0.94-1.fc12 has been submitted as an update for Fedora 12.
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.