From f836cd4fe6925a990347766d78653859ca7f9d00 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 24 Aug 2007 17:39:22 +0300 Subject: [PATCH] Allow overriding Homepage from a package stanza in the control file --- ChangeLog | 5 +++++ scripts/dpkg-gencontrol.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dee1fdae..aefeb62b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-08-24 Guillem Jover + + * scripts/dpkg-gencontrol.pl: Allow a package stanza to override the + Homepage field from the source stanza. + 2007-08-20 Guillem Jover * dpkg-deb/build.c (arbitrary_fields): New variable. diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl index 98fb7c47..9a9524b3 100755 --- a/scripts/dpkg-gencontrol.pl +++ b/scripts/dpkg-gencontrol.pl @@ -157,7 +157,7 @@ for $_ (keys %fi) { else { $_ = "C $_"; &unknown(_g('general section of control info file')); } } elsif (s/^C$myindex //) { #print STDERR "P key >$_< value >$v<\n"; - if (m/^(Package|Description|Essential|Optional)$/) { + if (m/^(Package|Description|Homepage|Essential|Optional)$/) { $f{$_}= $v; } elsif (exists($pkg_dep_fields{$_})) { } elsif (m/^Section$|^Priority$/) { -- 2.39.5