summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/rpmbuild/SPECS/xmake.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec
index a9d00da95..f3a6ef99a 100644
--- a/scripts/rpmbuild/SPECS/xmake.spec
+++ b/scripts/rpmbuild/SPECS/xmake.spec
@@ -26,8 +26,9 @@ system to help users solve the integrated use of C/C++ dependent libraries.
%prep
rm -rf xmake-v%{version}
-git clone --recurse-submodules https://github.com/xmake-io/xmake.git -b dev xmake-v%{version}
+git clone https://github.com/xmake-io/xmake.git -b dev xmake-v%{version}
cd xmake-v%{version}
+git submodule update --init
%build
make build