From 854ced28886e53d7f8711c0f17423f3c336aba07 Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Wed, 14 Oct 2026 16:32:04 -0400 Subject: [PATCH] release: a Maintainer address the .deb accepts; no Debian changelog for an upstream package lintian rejected the Maintainer field without an e-mail address, and the missing changelog of a package built upstream rather than by a distribution. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo --- .github/workflows/release.yml | 4 +++- apps/fieldcraft/Cargo.toml | 2 +- packaging/linux/package.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7a88e44..e13ac78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -159,7 +159,9 @@ jobs: dpkg-deb --info "$deb" rpm -qpi "$rpm" echo "rpm requires:"; rpm -qpR "$rpm" - lintian --info --fail-on error "$deb" + # The release notes live on GitHub, so the package has no Debian changelog (a native + # package built upstream, not by a distribution). + lintian --info --fail-on error --suppress-tags no-changelog "$deb" ldd target/release/fieldcraft for appimage in dist/release/*.AppImage; do chmod +x "$appimage" diff --git a/apps/fieldcraft/Cargo.toml b/apps/fieldcraft/Cargo.toml index 43a7edc..6aa7e25 100644 --- a/apps/fieldcraft/Cargo.toml +++ b/apps/fieldcraft/Cargo.toml @@ -32,7 +32,7 @@ embed-resource = "3.0.12" # NEEDED entries and the tools cannot find them: they are listed here. [package.metadata.deb] name = "fieldcraft" -maintainer = "FieldCraft contributors" +maintainer = "FieldCraft contributors " copyright = "FieldCraft contributors" section = "science" priority = "optional" diff --git a/packaging/linux/package.sh b/packaging/linux/package.sh index fc218fe..20ab6df 100755 --- a/packaging/linux/package.sh +++ b/packaging/linux/package.sh @@ -99,7 +99,7 @@ if has deb; then case "$ARCH" in x86_64) DEB_ARCH=amd64 ;; *) DEB_ARCH="$ARCH" ;; esac OUT="$DIST/fieldcraft_${VERSION}_$DEB_ARCH.deb" (cd "$ROOT" && cargo deb --locked -p fieldcraft --no-build --deb-version "$PKG_VERSION" \ - --maintainer "${FIELDCRAFT_MAINTAINER:-FieldCraft contributors}" -o "$OUT") + --maintainer "${FIELDCRAFT_MAINTAINER:-FieldCraft contributors }" -o "$OUT") echo "wrote $OUT" fi if has rpm; then