update-maintainer: Stop mentioning "Modify Maintainer: value blabla" since

it is a required global policy anyway and totally pointless changelog
noise.
This commit is contained in:
Martin Pitt 2008-07-18 12:32:58 +01:00
parent d2e2d96131
commit 2e64af4a34
2 changed files with 8 additions and 7 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
ubuntu-dev-tools (0.33) UNRELEASED; urgency=low
* update-maintainer: Stop mentioning "Modify Maintainer: value blabla" since
it is a required global policy anyway and totally pointless changelog
noise.
-- Martin Pitt <martin.pitt@ubuntu.com> Fri, 18 Jul 2008 12:29:57 +0100
ubuntu-dev-tools (0.32) intrepid; urgency=low
[ Iain Lane ]

View File

@ -11,7 +11,6 @@ Usage: $0 [--path=PATH] [--section=SECTION] [--nochangelog]
--path=PATH Specify the path of the source directory.
--section=SECTION Specify the section of the package (if the package is
not yet in the archive.
--nochangelog Do not add to the changelog, only alter debian/control.
EOF
}
@ -29,9 +28,6 @@ for argv in "$@"; do
[ "$value" != "multiverse" ] && echo "Invalid section. Valid sections: main restricted universe multiverse" >&2 && exit 1
section=$value
;;
"--nochangelog"|"--no-changelog")
nochangelog=1
;;
"--help")
usage
exit 0
@ -87,6 +83,3 @@ esac
for file in control{,.in,.real}; do
[ -f $DEBIANDIR/$file ] && sed -ri "s/(^Maintainer:) (.*)/\1 $email\nXSBC-Original-\1 \2/" $DEBIANDIR/$file
done
[ -z "$nochangelog" ] && dch --changelog $DEBIANDIR/changelog "Modify Maintainer value to match the DebianMaintainerField specification."
echo "Maintainer changed to $email."