aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-14 13:29:58 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-14 13:29:58 +0000
commit3a5d155e2a0f2dc9898157db5169db0f7f697ea1 (patch)
tree812dfb32575248f4f61f041eca404d6b1af8adb4
parent03baf812d3042efe72389d574bf2324e12ba879e (diff)
downloadrpmtools-3a5d155e2a0f2dc9898157db5169db0f7f697ea1.tar
rpmtools-3a5d155e2a0f2dc9898157db5169db0f7f697ea1.tar.gz
rpmtools-3a5d155e2a0f2dc9898157db5169db0f7f697ea1.tar.bz2
rpmtools-3a5d155e2a0f2dc9898157db5169db0f7f697ea1.tar.xz
rpmtools-3a5d155e2a0f2dc9898157db5169db0f7f697ea1.zip
*** empty log message ***
-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