forked from pool/syncthing
Accepting request 396577 from home:jengelh:branches:network
something like this (untested) - Drop unnecessary systemd install-time dependencies. [bnc#980389] Only pass template units to preun (disable); no other actions are defined for them. OBS-URL: https://build.opensuse.org/request/show/396577 OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=62
This commit is contained in:
parent
f9f4c65606
commit
4e2014fc9e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 18 08:54:32 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Drop unnecessary systemd install-time dependencies. [bnc#980389]
|
||||||
|
Only pass template units to preun (disable); no other actions
|
||||||
|
are defined for them.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 17 17:13:51 UTC 2016 - sor.alexei@meowr.ru
|
Tue May 17 17:13:51 UTC 2016 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ Source1: %{name}.firewall
|
|||||||
BuildRequires: go >= 1.3
|
BuildRequires: go >= 1.3
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
%{?systemd_requires}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Syncthing replaces proprietary sync and cloud services with
|
Syncthing replaces proprietary sync and cloud services with
|
||||||
@ -73,10 +72,10 @@ install -Dm 0644 %{SOURCE1} \
|
|||||||
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
%{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{name}@.service %{name}-resume.service
|
%service_add_pre %{name}-resume.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%service_add_post %{name}@.service %{name}-resume.service
|
%service_add_post %{name}-resume.service
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320
|
||||||
%systemd_user_post %{name}.service
|
%systemd_user_post %{name}.service
|
||||||
%endif
|
%endif
|
||||||
@ -88,7 +87,7 @@ install -Dm 0644 %{SOURCE1} \
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%service_del_postun %{name}@.service %{name}-resume.service
|
%service_del_postun %{name}-resume.service
|
||||||
%if 0%{?suse_version} > 1320
|
%if 0%{?suse_version} > 1320
|
||||||
%systemd_user_postun %{name}.service
|
%systemd_user_postun %{name}.service
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user