diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2011-08-29 15:43:15 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2011-08-29 15:52:16 +0300 |
commit | 0e01c697dcb4cf327130e24d9d1bf534707081d0 (patch) | |
tree | e7a2072374256895867273bc8c4cb6346a1eab7d /python/rpmmodule.c | |
parent | 47799e84c9877239f17b5c8f11166ca8c29ed44a (diff) | |
download | librpm-tizen-0e01c697dcb4cf327130e24d9d1bf534707081d0.tar.gz librpm-tizen-0e01c697dcb4cf327130e24d9d1bf534707081d0.tar.bz2 librpm-tizen-0e01c697dcb4cf327130e24d9d1bf534707081d0.zip |
Add a new pseudo index for actually installed files
- RPMDBI_BASENAMES (ugh) returns all headers with matching filenames,
whether the files are actually installed or not, which can be
rather misleading when dealing with file dependencies. The new
RPMDBI_INSTFILENAMES only returns headers with matching filenames
whose state indicates they are actually present on the system.
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r-- | python/rpmmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 2f9e859e5..d3e664a2f 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -480,6 +480,7 @@ static int initModule(PyObject *m) REGISTER_ENUM(RPMDBI_PACKAGES); REGISTER_ENUM(RPMDBI_LABEL); + REGISTER_ENUM(RPMDBI_INSTFILENAMES); REGISTER_ENUM(RPMDBI_NAME); REGISTER_ENUM(RPMDBI_BASENAMES); REGISTER_ENUM(RPMDBI_GROUP); |