From d4dacf8eefac73527dc81b2b531f488d59c4dbee Mon Sep 17 00:00:00 2001 From: binLep <45154147+binLep@users.noreply.github.com> Date: Thu, 25 Jun 2026 17:24:08 +0800 Subject: fix(deb): set the default maintainer when packaging deb files #7618 --- xmake/plugins/pack/deb/main.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmake/plugins/pack/deb/main.lua b/xmake/plugins/pack/deb/main.lua index 711ee5d4a..501af8c57 100644 --- a/xmake/plugins/pack/deb/main.lua +++ b/xmake/plugins/pack/deb/main.lua @@ -123,6 +123,8 @@ function _get_specvars(package) end specvars.PACKAGE_DATE = datestr or "" local author = package:get("author") or "unknown " + local maintainer = package:get("maintainer") or author + specvars.PACKAGE_MAINTAINER = maintainer specvars.PACKAGE_COPYRIGHT = os.date("%Y") .. " " .. author specvars.PACKAGE_INSTALLCMDS = function () local prefixdir = package:get("prefixdir") -- cgit v1.3.1