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())
>>> 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.
PR #997 and #995
Commit 05e79137 fixes this issue
Commit d1544e7f relates to this ticket
Commit e25603dd fixes this issue
Metadata Update from @franzh: - Issue set to the milestone: 1.16.1
Commit 8334878d relates to this ticket
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/994
Please continue any further discussion there.