]> err.no Git - dpkg/commitdiff
Allow overriding Homepage from a package stanza in the control file
authorGuillem Jover <guillem@debian.org>
Fri, 24 Aug 2007 14:39:22 +0000 (17:39 +0300)
committerGuillem Jover <guillem@debian.org>
Fri, 24 Aug 2007 14:39:22 +0000 (17:39 +0300)
ChangeLog
scripts/dpkg-gencontrol.pl

index dee1fdae32b5c7d5d378a44a613d235f67655ecd..aefeb62b5d9ba9e5e5db13f9e7596fd4f7dff9c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-24  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-gencontrol.pl: Allow a package stanza to override the
+       Homepage field from the source stanza.
+
 2007-08-20  Guillem Jover  <guillem@debian.org>
 
        * dpkg-deb/build.c (arbitrary_fields): New variable.
index 98fb7c47d7ebf9df198983ae706af80eda8fbeb1..9a9524b314cf5df49ae1525e60af5b8bf1ae17b2 100755 (executable)
@@ -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$/) {