From 0740733df787cf866765616c2536f08c1202b4530f49f76df4371394524b3559 Mon Sep 17 00:00:00 2001
From: Alexei Sorokin <sor.alexei@meowr.ru>
Date: Sun, 9 Aug 2015 23:07:01 +0000
Subject: [PATCH] OBS-URL:
 https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=24

---
 syncthing.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/syncthing.spec b/syncthing.spec
index eb51e70..e56fb2e 100644
--- a/syncthing.spec
+++ b/syncthing.spec
@@ -58,19 +58,19 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d
 
 %post
 %service_add_post %{name}@.service
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
 %systemd_user_post %{name}.service
 %endif
 
 %preun
 %service_del_preun %{name}@.service
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
 %systemd_user_preun %{name}.service
 %endif
 
 %postun
 %service_del_postun %{name}@.service
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
 %systemd_user_postun %{name}.service
 %endif
 
@@ -80,7 +80,7 @@ install -Dm 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d
 %config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
 %{_bindir}/%{name}
 %{_unitdir}/%{name}@.service
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} > 1320 || 0%{?suse_version} == 1315
 %{_userunitdir}/%{name}.service
 %endif