From 60030f88489ddabc1be52f83ad2a77a8ace614176fa1ad46430b6f0025a95ed2 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Fri, 7 Feb 2020 19:32:51 +0000 Subject: [PATCH] Accepting request 770829 from home:mkittler:branches:network Disable automatic updates which do not work anyways unless you run Syncthing as user root. This should prevent the annoying permission errors you get so far. OBS-URL: https://build.opensuse.org/request/show/770829 OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=182 --- syncthing.changes | 6 ++++++ syncthing.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/syncthing.changes b/syncthing.changes index 6b693ea..7f32816 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 6 16:36:41 UTC 2020 - Marius Kittler + +- Disable automatic updates (which do not work anyways unless you + run Syncthing as user root) + ------------------------------------------------------------------- Tue Feb 4 09:14:47 UTC 2020 - Martin Rey diff --git a/syncthing.spec b/syncthing.spec index e3423c4..e6c8643 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -61,7 +61,12 @@ ls | sed '/^build$/d' | xargs cp -at build/src/github.com/%{name}/%{name} cp -a vendor build/vendor/src pushd build/src/github.com/%{name}/%{name}/ +# build and install stcli which has no dedicated target and can not be built with -no-upgrade go run build.go -version v%{version} install all +# build and install syncthing without automatic updates +go run build.go -no-upgrade -version v%{version} install +# build and install strelaysrv without automatic updates +go run build.go -no-upgrade -version v%{version} install strelaysrv popd %install