[zsh] Fix missing 'fi' in %post
Adam Jackson
ajax at fedoraproject.org
Wed Jul 9 15:57:49 UTC 2014
commit c18d189fe36c0f2bbffb69d8cc23e678cdafdd5a
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Jul 9 11:57:13 2014 -0400
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
zsh.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
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 <ajax at redhat.com> 5.0.5-6
+- Fix missing 'fi' in %%post
+
* Thu Jul 03 2014 Dominic Hopf <dmaphy at fedoraproject.org> - 5.0.5-5
- improve handling of /etc/shells
More information about the scm-commits
mailing list