From ec900d86d2a117b7b01d2a4f46f369cfadcb1520 Mon Sep 17 00:00:00 2001 From: dillon_chen Date: Tue, 17 Jan 2023 11:04:19 +0800 Subject: [PATCH] replace /usr/local/bin/zsh to /bin/zsh --- zsh.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zsh.spec b/zsh.spec index c497100..04750cd 100644 --- a/zsh.spec +++ b/zsh.spec @@ -2,7 +2,7 @@ Name: zsh Version: 5.9 -Release: 1 +Release: 2 Summary: A shell designed for interactive use License: MIT URL: http://zsh.sourceforge.net @@ -77,7 +77,7 @@ done install -d $RPM_BUILD_ROOT%{_sysconfdir}/skel install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.zshrc -for i in checkmail harden run-help zcalc zkbd; do +for i in checkmail harden run-help zcalc zkbd test-repo-git-rebase-apply test-repo-git-rebase-merge; do sed -i -e 's!/usr/local/bin/zsh!%{_bindir}/zsh!' $RPM_BUILD_ROOT%{_datadir}/zsh/%{version}/functions/$i chmod +x $RPM_BUILD_ROOT%{_datadir}/zsh/%{version}/functions/$i done @@ -128,6 +128,9 @@ fi %{_infodir}/* %changelog +* Tue Jan 17 2023 dillon chen < dillon.chen@gmail.com> - 5.9-2 +- /usr/local/bin/zsh => /bin/zsh + * Sun Oct 9 2022 dillon chen < dillon.chen@gmail.com> - 5.9-1 - update to 5.9