diff options
Diffstat (limited to 'xmake/plugins/pack/xpack.lua')
| -rw-r--r-- | xmake/plugins/pack/xpack.lua | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua index ccf76ebf5..6d82536d4 100644 --- a/xmake/plugins/pack/xpack.lua +++ b/xmake/plugins/pack/xpack.lua @@ -319,23 +319,6 @@ function xpack:specvars() return specvars end --- get the specfile path -function xpack:specfile() - local specfile = self:get("specfile") - if not specfile then - local extensions = { - wix = ".wxs", - nsis = ".nsi", - srpm = ".spec", - rpm = ".spec", - runself = ".lsm" - } - local extension = extensions[self:format()] or ".spec" - specfile = path.join(self:buildir(), self:basename() .. extension) - end - return specfile -end - -- get the extension function xpack:extension() local extension = self:get("extension") |
