summaryrefslogtreecommitdiff
path: root/hello_cangjie_eur.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-15 15:33:48 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-15 15:33:48 +0000
commitccfc1d17e5da63106d12d61d5d98a1567922811c (patch)
tree299d3d519da532b0ca94e0ea747a11be7a4da663 /hello_cangjie_eur.spec
parent948fc374048c4df1a201ba54f8c0443c63a6fbe7 (diff)
automatic import of hello-cangjie-eur
Diffstat (limited to 'hello_cangjie_eur.spec')
-rw-r--r--hello_cangjie_eur.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/hello_cangjie_eur.spec b/hello_cangjie_eur.spec
index 696d430..63640d5 100644
--- a/hello_cangjie_eur.spec
+++ b/hello_cangjie_eur.spec
@@ -1,6 +1,6 @@
Name: hello-cangjie-eur
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cangjie Eur demo.
License: MIT
Source: https://github.com/stevending1st/%{name}/archive/refs/tags/v%{version}.tar.gz
@@ -83,8 +83,6 @@ echo "alias main='/usr/bin/%{name}'" >> ~/.bashrc
%postun
rm -rf %{_libdir}/cangjie
-rm -rf /usr/bin/%{name}
-rm -rf /bin/%{name}
sed -i '\|source .*/cangjie/envsetup.sh|d' ~/.bashrc
sed -i "\|alias main='/usr/bin/%{name}'|d" ~/.bashrc