diff --git a/syncthing.changes b/syncthing.changes index 4badc10..d99827a 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 (boo#1095169). + ------------------------------------------------------------------- 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