From a41c87fb4411b03803dde2ad1843af7446cad446 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 23 Sep 2020 22:38:20 +0800 Subject: fix clone submodule for xmake.spec --- scripts/rpmbuild/SPECS/xmake.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1