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
This commit is contained in:
Alexei Sorokin 2020-02-07 19:32:51 +00:00 committed by Git OBS Bridge
parent f5ced05918
commit 60030f8848
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 6 16:36:41 UTC 2020 - Marius Kittler <marius.kittler@suse.com>
- 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 <mrey@suse.com>

View File

@ -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