summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-15 23:56:05 +0800
committerruki <[email protected]>2023-12-15 23:56:05 +0800
commitbd85dc661e4cc386d27aa9cd855b91096b5b203c (patch)
treeeca01fc5eebe661f09dc4da6a1f4dd211ecb9d41 /xmake/plugins/pack/xpack.lua
parent86739912c5630ad7033b1d7f4c206489b6d201b0 (diff)
add srpm
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
-rw-r--r--xmake/plugins/pack/xpack.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 64e9d77dc..67216b928 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -237,7 +237,7 @@ function xpack:inputkind()
srctargz = "source",
runself = "source",
deb = "source",
- rpm = "source"
+ srpm = "source"
}
inputkind = inputkinds[self:format()] or "binary"
end
@@ -377,7 +377,7 @@ function xpack:extension()
srctargz = ".tar.gz",
runself = ".gz.run",
deb = ".deb",
- rpm = ".rpm"
+ srpm = ".src.rpm"
}
extension = extensions[self:format()] or ""
end