spec: fix post installation scriptlet
Ignore scriptlet failure.
This commit is contained in:
parent
91f7b1a030
commit
0d4a41fcac
7
ppp.spec
7
ppp.spec
|
@ -3,7 +3,7 @@
|
||||||
Summary: The Point-to-Point Protocol daemon
|
Summary: The Point-to-Point Protocol daemon
|
||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.4.5
|
Version: 2.4.5
|
||||||
Release: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.samba.org/ppp
|
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 || :
|
getent group dip >/dev/null 2>&1 || groupadd -r -g 40 dip >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%post
|
%post
|
||||||
mkdir -p %{_localstatedir}/lock/ppp
|
mkdir -p %{_localstatedir}/lock/ppp 2>&1 >/dev/null || :
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -171,6 +171,9 @@ mkdir -p %{_localstatedir}/lock/ppp
|
||||||
%doc PLUGINS
|
%doc PLUGINS
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- don't ship /var/lock/ppp in rpm payload and create it in %post instead
|
||||||
- fix installation of tmpfiles.d configuration
|
- fix installation of tmpfiles.d configuration
|
||||||
|
|
Loading…
Reference in New Issue