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
This commit is contained in:
parent
370e7152bc
commit
c18d189fe3
6
zsh.spec
6
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
|
||||
@ -136,6 +136,7 @@ if [ "$1" = 1 ]; then
|
||||
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
|
||||
# This is needed so that --excludedocs works.
|
||||
@ -177,6 +178,9 @@ fi
|
||||
%doc Doc/*.html
|
||||
|
||||
%changelog
|
||||
* Wed Jul 09 2014 Adam Jackson <ajax@redhat.com> 5.0.5-6
|
||||
- Fix missing 'fi' in %%post
|
||||
|
||||
* Thu Jul 03 2014 Dominic Hopf <dmaphy@fedoraproject.org> - 5.0.5-5
|
||||
- improve handling of /etc/shells
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user