]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Use same heuristic as upstream rpm to determine if the header belongs to a source rpm
authorMichael Schroeder <mls@suse.de>
Mon, 10 Jul 2017 12:37:01 +0000 (14:37 +0200)
committerMichael Schroeder <mls@suse.de>
Mon, 10 Jul 2017 12:37:01 +0000 (14:37 +0200)
commit6c8ee8bc85fe3979bfeee4f75a03552c23005ca1
tree3dc57cdc035f1f21d05f2118f1367d2041c80634
parentb8a9ddd88eb4e0ab351eb55a53186b5dc5ac0825
Use same heuristic as upstream rpm to determine if the header belongs to a source rpm

We used to rely on the lead data, which is unreliable. Follow
upstream rpm by using a heuristic if both TAG_SOURCERPM and
TAG_SOURCEPACKAGE are not set.
ext/repo_rpmdb.c