- Update to version 0.13.9.
OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=68
This commit is contained in:
committed by
Git OBS Bridge
parent
448b09ffe5
commit
4cb8b626e2
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: syncthing
|
||||
Version: 0.13.7
|
||||
Version: 0.13.9
|
||||
Release: 0
|
||||
Summary: FOSS Continuous File Synchronisation
|
||||
License: MPL-2.0
|
||||
@@ -41,7 +41,7 @@ Internet.
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
cp -f %{SOURCE3} %{name}.firewall
|
||||
%if 0%{?suse_version} <= 1320
|
||||
%if !(0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200)
|
||||
# Remove an entry that only exists since systemd 215.
|
||||
sed -i '/^RestartForceExitStatus=/d;s/^\(SuccessExitStatus=\).*$/\12/' \
|
||||
etc/linux-systemd/system/syncthing@.service
|
||||
@@ -67,7 +67,7 @@ install -Dm 0644 etc/linux-systemd/system/%{name}@.service \
|
||||
%{buildroot}%{_unitdir}/%{name}@.service
|
||||
install -Dm 0644 etc/linux-systemd/system/%{name}-resume.service \
|
||||
%{buildroot}%{_unitdir}/%{name}-resume.service
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
install -Dm 0644 etc/linux-systemd/user/%{name}.service \
|
||||
%{buildroot}%{_userunitdir}/%{name}.service
|
||||
%endif
|
||||
@@ -79,19 +79,19 @@ install -Dm 0644 %{name}.firewall \
|
||||
|
||||
%post
|
||||
%service_add_post %{name}-resume.service
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
%systemd_user_post %{name}.service
|
||||
%endif
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}@.service %{name}-resume.service
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
%systemd_user_preun %{name}.service
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}-resume.service
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
%systemd_user_postun %{name}.service
|
||||
%endif
|
||||
|
||||
@@ -102,7 +102,7 @@ install -Dm 0644 %{name}.firewall \
|
||||
%{_bindir}/%{name}
|
||||
%{_unitdir}/%{name}@.service
|
||||
%{_unitdir}/%{name}-resume.service
|
||||
%if 0%{?suse_version} > 1320
|
||||
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
|
||||
%{_userunitdir}/%{name}.service
|
||||
%endif
|
||||
|
||||
|
Reference in New Issue
Block a user