SHA256
1
0
forked from pool/syncthing
Stephan Kulow 2019-02-04 13:25:11 +00:00 committed by Git OBS Bridge
commit dde69de6db
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