Accepting request 479139 from home:ailin_nemui:branches:network:ldap

remove sysV support / %insserv_cleanup

OBS-URL: https://build.opensuse.org/request/show/479139
OBS-URL: https://build.opensuse.org/package/show/network:ldap/nss-pam-ldapd?expand=0&rev=9
This commit is contained in:
Ailin Nemui 2017-03-13 20:48:27 +00:00 committed by Git OBS Bridge
parent b3d4cce929
commit 228bf24d77

View File

@ -81,14 +81,11 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcnslcd
%service_add_post nslcd.service
%preun
%stop_on_removal nslcd
%service_del_preun nslcd.service
%postun
/sbin/ldconfig
%service_del_postun nslcd.service
%restart_on_update nslcd
%insserv_cleanup
%files
%defattr(-,root,root)