Skip to content

Commit

Permalink
Revert "debian: sourcedep data is not used"
Browse files Browse the repository at this point in the history
This reverts commit d02a35a.
  • Loading branch information
mlschroe committed May 13, 2024
1 parent d02a35a commit 9800231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Build/Deb.pm
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ sub query {
my $src = $name;
if ($res{'SOURCE'}) {
$src = $res{'SOURCE'};
$data->{'sourcedep'} = $src;
$src =~ s/\s.*$//;
}
$data->{'source'} = $src if $src ne '';
Expand Down
1 change: 1 addition & 0 deletions Build/Debrepo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ sub addpkg {
$data->{'checksum'} = "$_:$c" if $c;
}
}
$data->{'sourcedep'} = $data->{'source'} if $data->{'source'};
$data->{'source'} =~ s/\s.*// if $data->{'source'};
if (ref($res) eq 'CODE') {
$res->($data);
Expand Down

0 comments on commit 9800231

Please sign in to comment.