summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5e4ce036f..ae2f83b11 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -38,7 +38,7 @@ cp core/src/demo/demo.b %{buildroot}%{_bindir}/%{name}
chmod 755 %{buildroot}%{_bindir}/%{name}
%check
-xmake --version
+%{buildroot}%{_bindir}/%{name} --version
%clean
rm -rf %{buildroot}