Automatic update of debian/changelog trailer line

Rafael Laboissiere rafael at debian.org
Fri Nov 18 21:08:31 UTC 2005


Please, consider the patch below to have build-from-scratch.sh working
without human intervation.

-- 
Rafael
-------------- next part --------------
Index: build-from-scratch.sh
===================================================================
--- build-from-scratch.sh	(revision 208)
+++ build-from-scratch.sh	(working copy)
@@ -36,8 +36,12 @@
 
 cd jedmodes-$VER
 
-# let the builder fix changelog
-echo "Please fix the trailer line in changelog"
-jed debian/changelog
+# Fix the trailer line in changelog automatically
+perl -ni -e 'if (not $done and /^ --/) {'\
+'              print (" -- Debian JED Group "'\
+'                     . "<pkg-jed-devel\@lists.alioth.debian.org>  ",'\
+'                     qx/date +"%a, %2e %b %Y %T %z"/, "\n");'\
+'              $done = 1;'\
+'            } else {print}' debian/changelog
 
 debuild -i -us -uc


More information about the Pkg-jed-devel mailing list