mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-11 08:51:29 +00:00
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:
parent
d2e2d96131
commit
2e64af4a34
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -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
|
ubuntu-dev-tools (0.32) intrepid; urgency=low
|
||||||
|
|
||||||
[ Iain Lane ]
|
[ Iain Lane ]
|
||||||
|
@ -11,7 +11,6 @@ Usage: $0 [--path=PATH] [--section=SECTION] [--nochangelog]
|
|||||||
--path=PATH Specify the path of the source directory.
|
--path=PATH Specify the path of the source directory.
|
||||||
--section=SECTION Specify the section of the package (if the package is
|
--section=SECTION Specify the section of the package (if the package is
|
||||||
not yet in the archive.
|
not yet in the archive.
|
||||||
--nochangelog Do not add to the changelog, only alter debian/control.
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -29,9 +28,6 @@ for argv in "$@"; do
|
|||||||
[ "$value" != "multiverse" ] && echo "Invalid section. Valid sections: main restricted universe multiverse" >&2 && exit 1
|
[ "$value" != "multiverse" ] && echo "Invalid section. Valid sections: main restricted universe multiverse" >&2 && exit 1
|
||||||
section=$value
|
section=$value
|
||||||
;;
|
;;
|
||||||
"--nochangelog"|"--no-changelog")
|
|
||||||
nochangelog=1
|
|
||||||
;;
|
|
||||||
"--help")
|
"--help")
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
@ -87,6 +83,3 @@ esac
|
|||||||
for file in control{,.in,.real}; do
|
for file in control{,.in,.real}; do
|
||||||
[ -f $DEBIANDIR/$file ] && sed -ri "s/(^Maintainer:) (.*)/\1 $email\nXSBC-Original-\1 \2/" $DEBIANDIR/$file
|
[ -f $DEBIANDIR/$file ] && sed -ri "s/(^Maintainer:) (.*)/\1 $email\nXSBC-Original-\1 \2/" $DEBIANDIR/$file
|
||||||
done
|
done
|
||||||
|
|
||||||
[ -z "$nochangelog" ] && dch --changelog $DEBIANDIR/changelog "Modify Maintainer value to match the DebianMaintainerField specification."
|
|
||||||
echo "Maintainer changed to $email."
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user