From 5916cdcced8da07fd4e7f3c673625677742fa693e20b7d30cc0ab7b2fcef9964 Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Tue, 6 Dec 2016 14:24:40 +0000 Subject: [PATCH] Accepting request 444259 from home:jengelh:branches:server:proxy well then use a \ OBS-URL: https://build.opensuse.org/request/show/444259 OBS-URL: https://build.opensuse.org/package/show/server:proxy/shadowsocks-libev?expand=0&rev=4 --- shadowsocks-libev.changes | 5 +++++ shadowsocks-libev.spec | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/shadowsocks-libev.changes b/shadowsocks-libev.changes index b339619..ac67618 100644 --- a/shadowsocks-libev.changes +++ b/shadowsocks-libev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 6 09:38:20 UTC 2016 - jengelh@inai.de + +- Use a single call to %service_* + ------------------------------------------------------------------- Mon Dec 5 09:04:22 UTC 2016 - hillwood@opensuse.org diff --git a/shadowsocks-libev.spec b/shadowsocks-libev.spec index 8e86678..c6cc75a 100644 --- a/shadowsocks-libev.spec +++ b/shadowsocks-libev.spec @@ -105,26 +105,26 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-redir ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcshadowsocks-libev-tunnel %pre -%service_add_pre %{name}-server.service %{name}-client.service -%service_add_pre %{name}-manager.service %{name}-nat.service -%service_add_pre %{name}-redir.service %{name}-tunnel.service +%{service_add_pre %{name}-server.service %{name}-client.service \ + %{name}-manager.service %{name}-nat.service %{name}-redir.service \ + %{name}-tunnel.service} %post /sbin/ldconfig -%service_add_post %{name}-server.service %{name}-client.service -%service_add_post %{name}-manager.service %{name}-nat.service -%service_add_post %{name}-redir.service %{name}-tunnel.service +%{service_add_post %{name}-server.service %{name}-client.service \ + %{name}-manager.service %{name}-nat.service %{name}-redir.service \ + %{name}-tunnel.service} %preun -%service_del_preun %{name}-server.service %{name}-client.service -%service_del_preun %{name}-manager.service %{name}-nat.service -%service_del_preun %{name}-redir.service %{name}-tunnel.service +%{service_del_preun %{name}-server.service %{name}-client.service \ + %{name}-manager.service %{name}-nat.service %{name}-redir.service \ + %{name}-tunnel.service} %postun /sbin/ldconfig -%service_del_postun %{name}-server.service %{name}-client.service -%service_del_postun %{name}-manager.service %{name}-nat.service -%service_del_postun %{name}-redir.service %{name}-tunnel.service +%{service_del_postun %{name}-server.service %{name}-client.service \ + %{name}-manager.service %{name}-nat.service %{name}-redir.service \ + %{name}-tunnel.service} %files %defattr(-,root,root)