SHA256
1
0
forked from pool/syncthing

Accepting request 670303 from home:frispete:42.3

- Fix build with 42.3

OBS-URL: https://build.opensuse.org/request/show/670303
OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=154
This commit is contained in:
Dirk Mueller 2019-02-03 18:22:34 +00:00 committed by Git OBS Bridge
parent cffddfb195
commit f557c61b01
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 31 10:21:31 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- Fix build with 42.3
-------------------------------------------------------------------
Tue Jan 1 12:21:16 UTC 2019 - Alexei Sorokin <sor.alexei@meowr.ru>

View File

@ -74,15 +74,21 @@ install -Dpm 0644 %{name}.firewall \
%post
%service_add_post %{name}-resume.service
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300
%systemd_user_post %{name}.service
%endif
%preun
%service_del_preun %{name}@.service %{name}-resume.service
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300
%systemd_user_preun %{name}.service
%endif
%postun
%service_del_postun %{name}-resume.service
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300
%systemd_user_postun %{name}.service
%endif
%files
%license LICENSE
@ -91,6 +97,8 @@ install -Dpm 0644 %{name}.firewall \
%{_bindir}/%{name}
%{_unitdir}/%{name}@.service
%{_unitdir}/%{name}-resume.service
%if 0%{?suse_version} >= 1500 || 0%{?sle_version} > 120300
%{_userunitdir}/%{name}.service
%endif
%changelog