Use RPMDBI_INSTFILENAMES on file queries as well
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Aug 2011 13:19:32 +0000 (16:19 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 29 Aug 2011 13:19:32 +0000 (16:19 +0300)
commit9ad57bda4a82b9847826daa766b4421d877bb3d9
tree63993b3680a300c0862c45503737822e55101e24
parent95dae810c0ce437bb2a7f205d3c399c304e3b792
Use RPMDBI_INSTFILENAMES on file queries as well

- This changes query behavior quite a bit as files with non-installed
  status are no longer returned as matches. The rationale is that
  it makes figuring out dependency issues with the "new" behavior
  more obvious (but perhaps we should have a switch to enable
  former behavior). Besides not satisfying dependencies, files with
  non-installed status are not really owned by the package, as they
  would not be removed on package removal.
lib/query.c