" git push --delete origin $RELBRANCH"
fi
+CHANGEDBY=$(dpkg-parsechangelog -l $PKGDIR/debian/changelog -SMaintainer)
+if [ "$CHANGEDBY" != "$UPLOADER" ]; then
+ cat <<eof
+Changes by $CHANGEDBY to be sponsored by $UPLOADER.
+eof
+ if ! test -e $PKGDIR/debian/RFS; then
+ abort 1 "Sponsored upload, but $PKGDIR/debian/RFS does not exist"
+ fi
+fi
+
( cd "$PKGDIR"
sed -i -e s/UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO/UNRELEASED/ debian/changelog
if test -z "$DISTRO"; then