From 8f8436e2a0e8e07aa4ae68303cb22530d5a4de9d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 12 Jan 2025 11:39:54 +0000 Subject: automatic import of hello-cangjie-eur --- hello_cangjie_eur.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hello_cangjie_eur.spec b/hello_cangjie_eur.spec index e39626c..959ba3b 100644 --- a/hello_cangjie_eur.spec +++ b/hello_cangjie_eur.spec @@ -10,7 +10,6 @@ BuildRequires: wget, dnf-plugins-core, binutils, glibc-devel, gcc-c++, openssl %description A demo for Cangjie and Eur. - %global debug_package %{nil} # 检查文件是否存在,并设置一个宏 @@ -20,6 +19,7 @@ else %global file_not_exists 0 fi + # 根据环境设置下载地址 %ifarch x86_64 # 这里的指令仅在 x86_64 架构下运行 @@ -46,10 +46,10 @@ tar xvf Cangjie-0.53.13-linux.tar.gz %install -cd %{_builddir}/%{name} +cd %{_builddir}/%{name}-%{version} rm -rf %{_buildrootdir}/* source %{_builddir}/cangjie/envsetup.sh -cjpm install --root %{_buildrootdir}/%{name}-%{version}-%{release} +cjpm install --root %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch} %clean -- cgit v1.2.3