#994 rpmdiff calculate wrong results
Closed: Fixed 3 years ago Opened 3 years ago by franzh.

Use Rpmdiff class to calculate same rpms twice will get different results

Example:

>>> d = koji.rpmdiff.Rpmdiff('test-pkg-1.0.0-1.el7.noarch.rpm', 'test-pkg-1.0.0-1.fc24.noarch.rpm', ignore='S5TN')
>>> print(d.textdiff())

>>> d = koji.rpmdiff.Rpmdiff('test-pkg-1.0.0-1.el7.noarch.rpm', 'test-pkg-1.0.0-1.fc24.noarch.rpm', ignore='S5TN')
>>> print(d.textdiff())
..........T /usr/share/test-pkg/test-doc01.txt
..........T /usr/share/test-pkg/test-doc02.txt
..........T /usr/share/test-pkg/test-doc03.txt
..........T /usr/share/test-pkg/test-doc04.txt


Besides, according to tests, the 'S' check cannot be skipped.

Commit d1544e7 relates to this ticket

Metadata Update from @franzh:
- Issue set to the milestone: 1.16.1

3 years ago

Commit 8334878 relates to this ticket

Login to comment on this ticket.

Metadata