summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-12 22:11:10 +0800
committerruki <[email protected]>2025-01-12 22:11:10 +0800
commit10d8436e0ff08d74acf3707b62e3674ad56d5fda (patch)
treea6d18c2cab9ebadd8032645d83ce87eb75e2db10 /scripts
parent45033d4729d3c1b21e7491c62510e14c87c4a053 (diff)
fix spec
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpmbuild/xmake.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/rpmbuild/xmake.spec b/scripts/rpmbuild/xmake.spec
index 1a6985e29..d7c4a1001 100644
--- a/scripts/rpmbuild/xmake.spec
+++ b/scripts/rpmbuild/xmake.spec
@@ -3,7 +3,7 @@
Name: xmake
Version: 2.9.7
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A cross-platform build utility based on Lua
# Application and 3rd-party modules licensing:
@@ -52,11 +52,10 @@ rm -rf core/src/{lua,luajit,lua-cjson,lz4,pdcurses}/*/
%build
%set_build_flags
-%configure --external=yes
%if %{use_luajit}
- --runtime=luajit
+%configure --external=y --runtime=luajit
%else
- --runtime=lua
+%configure --external=y --runtime=lua
%endif
%make_build