summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fc.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/fc.spec b/fc.spec
index 03bbe82..3c5aa72 100644
--- a/fc.spec
+++ b/fc.spec
@@ -13,6 +13,7 @@ Summary: %{pkg_summary}
License: MulanPSL2
URL: https://atomgit.com/openeulercompetitioninfo/meiyoumingzi
+BuildRequires: wget
BuildRequires: gcc
BuildRequires: g++
@@ -22,9 +23,9 @@ BuildRequires: g++
%prep
echo "install Cangjie"
%ifarch x86_64
- curl -o Cangjie.tar.gz 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_x64.tar.gz&objectKey=67a2c8976a75297d1cdc1d4c'
+ wget 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_x64.tar.gz&objectKey=67a2c8976a75297d1cdc1d4c' -O Cangjie.tar.gz
%else
- curl -o Cangjie.tar.gz 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_aarch64.tar.gz&objectKey=67a2c8606a75297d1cdc1d48'
+ wget 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_aarch64.tar.gz&objectKey=67a2c8606a75297d1cdc1d48' -O Cangjie.tar.gz
%endif
tar xvf Cangjie.tar.gz