summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-18 22:41:39 +0800
committerruki <[email protected]>2023-12-18 22:41:39 +0800
commitc1bba747f0859fb6f559169563973f28905c71f7 (patch)
tree580748622990c3548e65ab289c4591e1163b3619 /xmake/plugins/pack/xpack.lua
parent9725c72f8834475640800ec1ac5315ac803cb0a0 (diff)
call rpmbuild
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
-rw-r--r--xmake/plugins/pack/xpack.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 4f9f01ad2..5cf5f24f4 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -302,6 +302,7 @@ function xpack:specvars()
PACKAGE_COPYRIGHT = self:get("copyright") or "",
PACKAGE_COMPANY = self:get("company") or "",
PACKAGE_ICONFILE = self:get("iconfile") or "",
+ PACKAGE_LICENSE = self:license() or "",
PACKAGE_LICENSEFILE = self:get("licensefile") or ""
}