diff options
| author | CoprDistGit <infra@openeuler.org> | 2025-02-16 16:36:26 +0000 | 
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2025-02-16 16:36:26 +0000 | 
| commit | 8233e9231ddd602072e871afea8511aba080cc73 (patch) | |
| tree | fba76b7f0cd1944b0543a65b7cd0db8c96682c93 | |
| parent | 144e5353fa907a985f1bbb1a4213531eafb10585 (diff) | |
automatic import of hello-cangjie-eur
| -rw-r--r-- | hello_cangjie_eur.spec | 5 | 
1 files changed, 4 insertions, 1 deletions
| 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 | 
