From 044ef9f21a9c5c6745fefa478ba624b38d9d269a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 23 Feb 2025 11:32:37 +0000 Subject: automatic import of fc --- fc.spec | 5 +++-- 1 file 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 -- cgit v1.2.3