diff options
| author | ruki <[email protected]> | 2023-12-22 22:55:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-12-22 22:55:05 +0800 |
| commit | 80937fbe6cf18a5372cdadb012a92ffc3985719b (patch) | |
| tree | 7f3d725b78ffc0486e7fc02e429be143cbbb9b6c /xmake/plugins/pack/xpack.lua | |
| parent | e7e4a16ed6bb8e2f1db5fc28d5ad2920e3c8e41b (diff) | |
pack rpm
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index 5cf5f24f4..0eae84a7a 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -237,7 +237,8 @@ function xpack:inputkind() srctargz = "source", runself = "source", deb = "source", - srpm = "source" + srpm = "source", + rpm = "source" } inputkind = inputkinds[self:format()] or "binary" end @@ -362,6 +363,7 @@ function xpack:specfile() local extensions = { nsis = ".nsi", srpm = ".spec", + rpm = ".spec", runself = ".lsm" } local extension = extensions[self:format()] or ".spec" @@ -380,7 +382,8 @@ function xpack:extension() srctargz = ".tar.gz", runself = ".gz.run", deb = ".deb", - srpm = ".src.rpm" + srpm = ".src.rpm", + rpm = ".rpm" } extension = extensions[self:format()] or "" end |
