summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Dpkg/Vendor/Default.pm8
-rwxr-xr-xscripts/dpkg-genchanges.pl2
2 files changed, 0 insertions, 10 deletions
diff --git a/scripts/Dpkg/Vendor/Default.pm b/scripts/Dpkg/Vendor/Default.pm
index 72b9af654..243173867 100644
--- a/scripts/Dpkg/Vendor/Default.pm
+++ b/scripts/Dpkg/Vendor/Default.pm
@@ -72,12 +72,6 @@ supported hooks are:
The first parameter is a Dpkg::Source::Package object. The hook is called
just before the execution of $srcpkg->build().
-=item before-changes-creation ($fields)
-
-The hook is called just before the content of .changes file is output
-by dpkg-genchanges. The first parameter is a Dpkg::Control object
-representing all the fields that are going to be output.
-
=item keyrings ()
The hook is called when dpkg-source is checking a signature on a source
@@ -110,8 +104,6 @@ sub run_hook {
if ($hook eq "before-source-build") {
my $srcpkg = shift @params;
- } elsif ($hook eq "before-changes-creation") {
- my $fields = shift @params;
} elsif ($hook eq "keyrings") {
return ();
} elsif ($hook eq "register-custom-fields") {
diff --git a/scripts/dpkg-genchanges.pl b/scripts/dpkg-genchanges.pl
index 1761f186a..b13ce23c0 100755
--- a/scripts/dpkg-genchanges.pl
+++ b/scripts/dpkg-genchanges.pl
@@ -19,7 +19,6 @@ use Dpkg::Substvars;
use Dpkg::Vars;
use Dpkg::Changelog qw(parse_changelog);
use Dpkg::Version qw(parseversion compare_versions);
-use Dpkg::Vendor qw(run_vendor_hook);
textdomain("dpkg-dev");
@@ -524,6 +523,5 @@ for my $f (keys %remove) {
delete $fields->{$f};
}
-run_vendor_hook('before-changes-creation', $fields);
$fields->output(\*STDOUT); # Note: no substitution of variables