Pass the newly create ts element instead of header to findPos()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 2 Oct 2012 07:37:36 +0000 (10:37 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 2 Oct 2012 07:37:36 +0000 (10:37 +0300)
commit50b0000b070cc05688acee5332a745549c14a314
treea199bf9e737513ace6658b03944d52071b2e8892
parente9054c9880642c0f4675f204105222f69d121836
Pass the newly create ts element instead of header to findPos()

- Avoids a little bit of extra work, we already have the relevant
  bits of information in the rpmte and grabbing them from there is
  cheaper than looking up stuff from headers. Also avoids creating
  another copy of the new elements obsoletes dependency set unnecessarily.
lib/depends.c