From 864c2f00105057f694d84af17a4ec21ede85aee0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 15 May 2008 14:43:47 +0000 Subject: (report_bug_to_bugzilla) prefill the platform field --- perl-install/NEWS | 3 +++ perl-install/standalone/drakbug | 3 +++ 2 files changed, 6 insertions(+) diff --git a/perl-install/NEWS b/perl-install/NEWS index 48d7bdb8a..997c24f7f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- drakbug: + o prefill the platform field + Version 10.32 - 13 May 2008 - draksound: diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index c3b1ef7ac..5b32631c2 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -238,11 +238,14 @@ sub report_bug_to_bugzilla() { } my $rel_data = mandrake_release_info(); my $rel = standalone::real_version(); + my $arch = arch(); + $arch = 'i586' if arch =~ /^i.86/; my $options = join('&', ($product || $version ? 'cf_rpmpkg=' . join('-', $product, $version) : ()), 'version=' . ($rel_data->{branch} eq 'Devel' ? 'Cooker' : $rel_data->{version}), 'component=Core%20Packages', 'classification=Mandriva%20Linux', + "rep_platform=$arch", if_($incident, "short_desc=$prog%20" . ($segfaulted ? 'segfaulted' : 'crashed'), 'comment=' . uri_escape(qq(The "$prog" program crashed. Drakbug-$rel caught it. -- cgit v1.2.1