diff options
| author | ruki <[email protected]> | 2020-09-23 00:44:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-23 00:44:33 +0800 |
| commit | 19134925fc4ea4c3690abad8c3d887d4f8243447 (patch) | |
| tree | 4dba8d4052d77209c79522712c46fd340b82a14e /scripts | |
| parent | d32f59b6015aee870527e6cad8be1d5dc6fbb03c (diff) | |
improve xmake.spec
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rpmbuild/SPECS/xmake.spec | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec index ae2f83b11..a04903f7b 100644 --- a/scripts/rpmbuild/SPECS/xmake.spec +++ b/scripts/rpmbuild/SPECS/xmake.spec @@ -5,12 +5,11 @@ Summary: A cross-platform build utility based on Lua BuildArch: noarch License: Apache-2.0 URL: https://xmake.io -Source0: https://github.com/xmake-io/xmake/releases/download/v%{version}/xmake-v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: ncurses-devel BuildRequires: readline-devel - + %description It is a lightweight cross-platform build utility based on Lua. It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt, @@ -25,7 +24,9 @@ system to help users solve the integrated use of C/C++ dependent libraries. %define _binaries_in_noarch_packages_terminate_build 0 %prep -%autosetup -n xmake-v%{version} -c xmake-v%{version} +rm -rf xmake-v%{version} +git clone --recurse-submodules https://github.com/xmake-io/xmake.git -b dev xmake-v%{version} +cd xmake-v%{version} %build make build @@ -52,3 +53,4 @@ rm -rf %{buildroot} %changelog * Mon Sep 14 2020 Ruki Wang <[email protected]> - 2.3.7-1 - Initial Commit + |
