From 1261fde4ac96bf87827e18264c49dd09ee6151ff04af970c84e4cf59b4264d47 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 30 May 2018 09:21:39 +0000 Subject: [PATCH 1/2] Accepting request 613004 from home:mkittler:branches:network - Fix build command / prevent Syncthing to update itself Arguments go before commands so both -version and -no-upgrade were previously ignored resulting in Syncthing trying to update itself without permissions. OBS-URL: https://build.opensuse.org/request/show/613004 OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=137 --- syncthing.changes | 8 ++++++++ syncthing.spec | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/syncthing.changes b/syncthing.changes index 4badc10..ff48100 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed May 30 09:03:50 UTC 2018 - marius.kittler@suse.com + +- Fix build command / prevent Syncthing to update itself + Arguments go before commands so both -version and -no-upgrade + were previously ignored resulting in Syncthing trying to update + itself without permissions. + ------------------------------------------------------------------- Tue Apr 17 12:46:59 UTC 2018 - jengelh@inai.de diff --git a/syncthing.spec b/syncthing.spec index 2c39569..8dffc81 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -51,8 +51,7 @@ 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}/ -go run build.go install all \ - -version v%{version} -no-upgrade +go run build.go -no-upgrade -version v%{version} install all popd %install From 825be31871e4e47460a6e2ccb4a3311dcfdac981e78293b6cc39b17c9e29976f Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 30 May 2018 09:35:32 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=138 --- syncthing.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncthing.changes b/syncthing.changes index ff48100..d99827a 100644 --- a/syncthing.changes +++ b/syncthing.changes @@ -4,7 +4,7 @@ Wed May 30 09:03:50 UTC 2018 - marius.kittler@suse.com - Fix build command / prevent Syncthing to update itself Arguments go before commands so both -version and -no-upgrade were previously ignored resulting in Syncthing trying to update - itself without permissions. + itself without permissions (boo#1095169). ------------------------------------------------------------------- Tue Apr 17 12:46:59 UTC 2018 - jengelh@inai.de