tags 5571 patch thanks [EMAIL PROTECTED]/dpkg--devel--1.13--patch-12:
--- orig/ChangeLog +++ mod/ChangeLog @@ -1,5 +1,8 @@ 2005-07-24 Frank Lichtenheld <[EMAIL PROTECTED]> + * scripts/dpkg-genchanges.pl: Give a warning when one tries + to use -sd on a native Debian package. + * scripts/controllib.pl (capit): uppercase all letters that come after a minus ('-') --- orig/debian/changelog +++ mod/debian/changelog @@ -21,6 +21,9 @@ * Make the default behaviour for mangling field names "nicer" by uppercasing all letter that come after a minus ('-') (Frank Lichtenheld). Closes: #306474 + * Let dpkg-genchanges print a warning if someone tries to + use -sd with a native Debian package (Frank Lichtenheld). + Closes: #5571 -- --- orig/scripts/dpkg-genchanges.pl +++ mod/scripts/dpkg-genchanges.pl @@ -290,6 +290,9 @@ $origsrcmsg= "not including original source code in upload"; @sourcefiles= grep(!m/\.orig\.tar\.gz$/,@sourcefiles); } else { + if ($sourcestyle =~ m/d/ && !grep(m/\.diff\.gz$/,@sourcefiles)) { + &warn("Ignoring -sd option for native Debian package"); + } $origsrcmsg= "including full source code in upload"; } } else { Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]