From 3a5d155e2a0f2dc9898157db5169db0f7f697ea1 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 14 Feb 2001 13:29:58 +0000 Subject: *** empty log message *** --- rpmtools.pm | 2 +- rpmtools.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/rpmtools.pm b/rpmtools.pm index 0dd885d..245be20 100644 --- a/rpmtools.pm +++ b/rpmtools.pm @@ -547,7 +547,7 @@ sub version_compare { sub get_packages_installed { my ($prefix, $packages, $names, $flags) = @_; $flags ||= [ qw(name version release)]; my $db = db_open($prefix); - my $count = db_traverse_names($db, $flags, $names, sub { my ($p) = @_; push @$packages, $p; }); + my $count = db_traverse_tag($db, "name", $names, $flags, sub { my ($p) = @_; push @$packages, $p; }); db_close($db); $count; } diff --git a/rpmtools.spec b/rpmtools.spec index c31d191..5dbfe78 100644 --- a/rpmtools.spec +++ b/rpmtools.spec @@ -52,7 +52,10 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Feb 14 2001 François Pons 2.3-1mdk -- changed db_traverse_name to more generic db_traverse_tag. +- changed db_traverse_name to more generic db_traverse_tag + with support of name, whatprovides, whatrequires, triggeredby, + group and path. +- added conffiles tag. - rpmtools.pm to 2.3 to match package version. * Sat Feb 10 2001 François Pons 2.2-1mdk -- cgit v1.2.1