spec: fix post installation scriptlet

Ignore scriptlet failure.
This commit is contained in:
Michal Sekletar 2013-08-01 14:56:15 +02:00
parent 91f7b1a030
commit 0d4a41fcac
1 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Summary: The Point-to-Point Protocol daemon
Name: ppp
Version: 2.4.5
Release: 32%{?dist}
Release: 33%{?dist}
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
Group: System Environment/Daemons
URL: http://www.samba.org/ppp
@ -133,7 +133,7 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ppp
getent group dip >/dev/null 2>&1 || groupadd -r -g 40 dip >/dev/null 2>&1 || :
%post
mkdir -p %{_localstatedir}/lock/ppp
mkdir -p %{_localstatedir}/lock/ppp 2>&1 >/dev/null || :
%files
%defattr(-,root,root)
@ -171,6 +171,9 @@ mkdir -p %{_localstatedir}/lock/ppp
%doc PLUGINS
%changelog
* Thu Aug 01 2013 Michal Sekletar <msekleta@redhat.com> - 2.4.5-33
- fix post installation scriptlet
* Fri Jul 12 2013 Michal Sekletar <msekleta@redhat.com> - 2.4.5-32
- don't ship /var/lock/ppp in rpm payload and create it in %post instead
- fix installation of tmpfiles.d configuration