summaryrefslogtreecommitdiff
path: root/fc.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-23 11:32:37 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-23 11:32:37 +0000
commit044ef9f21a9c5c6745fefa478ba624b38d9d269a (patch)
tree5495175d9261bae2beac6fd0fe602407e0b66b1b /fc.spec
parente7f8b2eed14233c76e13bd6329ed2b3160a20cf6 (diff)
automatic import of fc
Diffstat (limited to 'fc.spec')
-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