summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpmbuild/SPECS/xmake.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec
index 94a00d44c..6d9460f8c 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -67,7 +67,7 @@ cp README.md %{buildroot}%{_datadir}
cp LICENSE.md %{buildroot}%{_datadir}
%check
-%{buildroot}%{_bindir}/%{name} --version
+XMAKE_ROOT=y %{buildroot}%{_bindir}/%{name} --version
%clean
rm -rf %{buildroot}