From c18d189fe36c0f2bbffb69d8cc23e678cdafdd5a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Jul 09 2014 15:57:16 +0000 Subject: Fix missing 'fi' in %post Updating : zsh-5.0.5-5.fc21.x86_64 289/703 /var/tmp/rpm-tmp.cwYqTA: line 15: syntax error: unexpected end of file warning: %post(zsh-5.0.5-5.fc21.x86_64) scriptlet failed, exit status 2 Non-fatal POSTIN scriptlet failure in rpm package zsh-5.0.5-5.fc21.x86_64 --- diff --git a/zsh.spec b/zsh.spec index 25e0cbb..ceb76ac 100644 --- a/zsh.spec +++ b/zsh.spec @@ -3,7 +3,7 @@ Summary: Powerful interactive shell Name: zsh Version: 5.0.5 -Release: 5%{?dist} +Release: 6%{?dist} License: MIT URL: http://zsh.sourceforge.net/ Group: System Environment/Shells @@ -135,6 +135,7 @@ if [ "$1" = 1 ]; then else grep -q "^%{_bindir}/%{name}$" %{_sysconfdir}/shells || echo "%{_bindir}/%{name}" >> %{_sysconfdir}/shells grep -q "^/bin/%{name}$" %{_sysconfdir}/shells || echo "/bin/%{name}" >> %{_sysconfdir}/shells + fi fi if [ -f %{_infodir}/zsh.info.gz ]; then @@ -177,6 +178,9 @@ fi %doc Doc/*.html %changelog +* Wed Jul 09 2014 Adam Jackson 5.0.5-6 +- Fix missing 'fi' in %%post + * Thu Jul 03 2014 Dominic Hopf - 5.0.5-5 - improve handling of /etc/shells