diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-08-20 13:02:05 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-08-20 13:02:05 +0300 |
commit | 10772ac7dfad60cb5a20681d22cf851468d0a8f9 (patch) | |
tree | 3600efe4eb1b9b1732d2ca769dcf9bee810466f8 /build/misc.c | |
parent | 634a67d055444593a47a21e9e9ea00df65e63d63 (diff) | |
download | librpm-tizen-10772ac7dfad60cb5a20681d22cf851468d0a8f9.tar.gz librpm-tizen-10772ac7dfad60cb5a20681d22cf851468d0a8f9.tar.bz2 librpm-tizen-10772ac7dfad60cb5a20681d22cf851468d0a8f9.zip |
Fix duplicate dependency checking on build
- Broken by commit af8b41c64af39ce07d85fcd92fa78d566747d815 which
simplified too much.
- There's no guarantee that rpmdsNew() returns a sorted dependency set
so rpmdsFind() doesn't work correctly here. Walk the ds manually instead.
- With multiple triggers of same type, identical trigger conditions on
different trigger script were seen as duplicates (RhBug:490378)
- Split the duplicate checking to separate helper function for clarity
Diffstat (limited to 'build/misc.c')
0 files changed, 0 insertions, 0 deletions