- Update to version 0.14.31.

OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=108
This commit is contained in:
Alexei Sorokin
2017-06-28 22:08:10 +00:00
committed by Git OBS Bridge
parent b387369460
commit f999f06857
6 changed files with 45 additions and 15 deletions

View File

@@ -17,7 +17,7 @@
Name: syncthing
Version: 0.14.29
Version: 0.14.31
Release: 0
Summary: FOSS Continuous File Synchronisation
License: MPL-2.0
@@ -30,6 +30,9 @@ Source3: %{name}.firewall
BuildRequires: go >= 1.5
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
%if 0%{?suse_version} <= 1320
BuildRequires: golang-org-x-net-context
%endif
%description
Syncthing replaces proprietary sync and cloud services with
@@ -47,6 +50,9 @@ cp -f %{SOURCE3} %{name}.firewall
sed -i '/^RestartForceExitStatus=/d;s/^\(SuccessExitStatus=\).*$/\12/' \
etc/linux-systemd/system/syncthing@.service
%endif
%if 0%{?suse_version} <= 1320
find -type f -name '*.go' -exec sed -i 's|"context"|"golang.org/x/net/context"|' {} \;
%endif
%build
mkdir -p build/src/ build/vendor/