Try to play nice with OpenPKG (rpm5.org) packages (rhbz#478907)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 30 Jan 2009 06:28:57 +0000 (08:28 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 30 Jan 2009 06:28:57 +0000 (08:28 +0200)
commit64335052e35836168f18e190da464b8c2abe0373
tree2618dbd687e8cc6ff082eb9b50d00037b720d897
parent81afe5e6a210171f58c989bc43bab1881821ddad
Try to play nice with OpenPKG (rpm5.org) packages (rhbz#478907)
- rpm5.org writes populates lead with partially bogus data, but
  does have explicit RPMTAG_SOURCEPACKAGE for srpms, dont think of them
  as binaries
- switches around the lead check in 50a4ed783c300a92948f7933a3c726d4bd2d643d
  to look at source type explicitly and retrofit RPMTAG_SOURCEPACKAGE
  for srpms early, this lets binaries without RPMTAG_SOURCERPM
  (which is documented as "information only") and with explicit
  RPMTAG_SOURCEPACKAGE be identified correctly
lib/legacy.c
lib/package.c