Accepting request 443778 from home:hillwood
- Fix %pre, %post, %preun and %postun. OBS-URL: https://build.opensuse.org/request/show/443778 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=3
This commit is contained in:
parent
459d12eabd
commit
93fe2dfdbb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 5 09:04:22 UTC 2016 - hillwood@opensuse.org
|
||||||
|
|
||||||
|
- Fix %pre, %post, %preun and %postun.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 5 07:26:03 UTC 2016 - hillwood@opensuse.org
|
Mon Dec 5 07:26:03 UTC 2016 - hillwood@opensuse.org
|
||||||
|
|
||||||
|
@ -105,22 +105,26 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-redir
|
|||||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-tunnel
|
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-tunnel
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{name}-server.service %{name}-client.service \
|
%service_add_pre %{name}-server.service %{name}-client.service
|
||||||
%{name}-manager.service %{name}-nat.service %{name}-redir.service %{name}-tunnel.service
|
%service_add_pre %{name}-manager.service %{name}-nat.service
|
||||||
|
%service_add_pre %{name}-redir.service %{name}-tunnel.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%service_add_post %{name}-server.service %{name}-client.service \
|
%service_add_post %{name}-server.service %{name}-client.service
|
||||||
%{name}-manager.service %{name}-nat.service %{name}-redir.service %{name}-tunnel.service
|
%service_add_post %{name}-manager.service %{name}-nat.service
|
||||||
|
%service_add_post %{name}-redir.service %{name}-tunnel.service
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun %{name}-server.service %{name}-client.service \
|
%service_del_preun %{name}-server.service %{name}-client.service
|
||||||
%{name}-manager.service %{name}-nat.service %{name}-redir.service %{name}-tunnel.service
|
%service_del_preun %{name}-manager.service %{name}-nat.service
|
||||||
|
%service_del_preun %{name}-redir.service %{name}-tunnel.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%service_del_postun %{name}-server.service %{name}-client.service \
|
%service_del_postun %{name}-server.service %{name}-client.service
|
||||||
%{name}-manager.service %{name}-nat.service %{name}-redir.service %{name}-tunnel.service
|
%service_del_postun %{name}-manager.service %{name}-nat.service
|
||||||
|
%service_del_postun %{name}-redir.service %{name}-tunnel.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user