aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xedit-urpm-sources.pl4
-rw-r--r--rpmdrake.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index af0e2883..46ad56ab 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -573,8 +573,8 @@ sub mainwindow {
$reorder_ok or return;
my @media;
$model->foreach(sub {
- my (undef, $path) = @_;
- my $name = $model->get($path, 1);
+ my (undef, undef, $iter) = @_;
+ my $name = $model->get($iter, 1);
push @media, find { $_->{name} eq $name } @{$urpm->{media}};
0;
}, undef);
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 70a6fda4..99b99f8c 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -8,7 +8,7 @@
%define name rpmdrake
%define version 2.1.2
-%define release 5mdk
+%define release 6mdk
Name: %{name}
Version: %{version}
@@ -118,6 +118,9 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/park-rpmdrake
%changelog
+* Thu Feb 19 2004 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1.2-6mdk
+- edit-urpm-media: fix broken media reordering (program crashed)
+
* Fri Feb 13 2004 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.1.2-5mdk
- make it embeddable