From 8233e9231ddd602072e871afea8511aba080cc73 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 16 Feb 2025 16:36:26 +0000 Subject: automatic import of hello-cangjie-eur --- hello_cangjie_eur.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hello_cangjie_eur.spec b/hello_cangjie_eur.spec index 3683aab..f2bd5a0 100644 --- a/hello_cangjie_eur.spec +++ b/hello_cangjie_eur.spec @@ -1,6 +1,6 @@ Name: hello-cangjie-eur Version: 0.0.8 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Cangjie Eur demo. License: MIT Source: https://github.com/stevending1st/%{name}/archive/refs/tags/v%{version}.tar.gz @@ -56,6 +56,8 @@ rm -rf %{buildroot} %pre #!/bin/bash +echo "$HOME" + # 根据环境设置下载地址 %ifarch x86_64 # 这里的指令仅在 x86_64 架构下运行 @@ -78,6 +80,7 @@ tar xvf Cangjie-0.53.13-linux.tar.gz rm -rf Cangjie-0.53.13-linux.tar.gz chmod 0755 %{_libdir}/cangjie/envsetup.sh chown root:root %{_libdir}/cangjie/envsetup.sh +chmod o+rx %{_libdir}/cangjie/envsetup.sh for user_dir in /home/* do -- cgit v1.2.3