From: Jeroen van Wolffelaar Date: Wed, 1 Feb 2006 21:46:00 +0000 (+0000) Subject: Drop srcversion logic that was unused X-Git-Tag: switch-to-templates~213 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=13a8ba9e1656ff1af0bcde63100907a5acb13315;p=deb%2Fpackages.git Drop srcversion logic that was unused --- diff --git a/bin/parse-packages b/bin/parse-packages index 1c671e5..aad6688 100755 --- a/bin/parse-packages +++ b/bin/parse-packages @@ -68,13 +68,9 @@ for my $suite (@suites) { $package_names{$data{'package'}} = 1; my $src = $data{'package'}; - my $srcversion = $data{'version'}; if ($data{'source'}) { $src = $data{'source'}; - if ($src =~ /(\S+) \((\S+)\)/) { - $src = $1; - $srcversion = $2; - } + $src =~ s/ .*//; # strip version info } my $descr = $data{'description'}; my $did = undef;