From 149e0d677e796b41f43bb68565dda68b88d5c7e4 Mon Sep 17 00:00:00 2001 From: Evgeniy Patlan Date: Wed, 19 Aug 2026 12:58:12 +0300 Subject: [PATCH] Derive Debian package metadata from the version The package Description hardcoded "8.0" and the changelog hardcoded a 9.0 release-notes URL, both of which have been wrong since those releases. Use the PRODUCT and MYSH_BASE_VERSION values the generator already computes. Also raise the debhelper build dependency to match debian/compat, which has been 11 while Build-Depends still asked for 8.9.4. --- packaging/debian/changelog.in | 2 +- packaging/debian/control.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/debian/changelog.in b/packaging/debian/changelog.in index 61264640e..ccae6a3e7 100644 --- a/packaging/debian/changelog.in +++ b/packaging/debian/changelog.in @@ -1,6 +1,6 @@ mysql-shell@PRODUCT_SUFFIX@ (@VERSION@@ID_RELEASE@) @CODENAME@; urgency=low * New Release. For release notes, please refer to - https://dev.mysql.com/doc/relnotes/mysql-shell/9.0/en/news-@MYSH_NO_DASH_VERSION@.html + https://dev.mysql.com/doc/relnotes/mysql-shell/@MYSH_BASE_VERSION@/en/news-@MYSH_NO_DASH_VERSION@.html -- MySQL Release Engineering @DEB_CHANGELOG_TIMESTAMP@ diff --git a/packaging/debian/control.in b/packaging/debian/control.in index 40676fdc7..82bea190c 100644 --- a/packaging/debian/control.in +++ b/packaging/debian/control.in @@ -3,7 +3,7 @@ Section: database Priority: optional Maintainer: Oracle MySQL Product Engineering Team Standards-Version: 3.9.2 -Build-Depends: debhelper (>= 8.9.4), cmake, @DEB_BUILD_DEPS@ +Build-Depends: debhelper (>= 11), cmake, @DEB_BUILD_DEPS@ Homepage: http://dev.mysql.com/downloads/shell Vcs-Git: https://github.com/mysql/mysql-shell.git Vcs-Browser: https://github.com/mysql/mysql-shell @@ -15,5 +15,5 @@ Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends}, @DEB_DEPS@ Conflicts: mysql-shell@CONFLICTING_PRODUCT_SUFFIX@ Replaces: mysql-shell@CONFLICTING_PRODUCT_SUFFIX@ -Description: MySQL Shell (part of MySQL Server) 8.0 +Description: @PRODUCT@ MySQL query and administration shell client and framework.