aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmtools.pm2
-rw-r--r--rpmtools.spec5
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 <fpons@mandrakesoft.com> 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 <fpons@mandrakesoft.com> 2.2-1mdk