From cfaf900a953c5f897af0ce07c1f71833e6dfb4db Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 16 Feb 2025 13:16:17 +0000 Subject: automatic import of hello-cangjie-eur --- hello_cangjie_eur.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/hello_cangjie_eur.spec b/hello_cangjie_eur.spec index 8ed24c2..47cf4d7 100644 --- a/hello_cangjie_eur.spec +++ b/hello_cangjie_eur.spec @@ -1,6 +1,6 @@ Name: hello-cangjie-eur Version: 0.0.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Cangjie Eur demo. License: MIT Source: https://github.com/stevending1st/%{name}/archive/refs/tags/v%{version}.tar.gz @@ -53,6 +53,15 @@ cjpm install --root %{_buildrootdir}/%{name}-%{version}-%{release}.%{_arch} %clean rm -rf %{buildroot} +%pre +echo "================================" +echo $HOME/.bashrc +cat $HOME/.bashrc +echo "================================" +echo "source %{_libdir}/cangjie/envsetup.sh" >> $HOME/.bashrc +cat $HOME/.bashrc +echo "================================" +source $HOME/.bashrc %post for user_dir in /home/* -- cgit v1.2.3