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
This commit is contained in:
parent
c99e5171af
commit
1261fde4ac
@ -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
|
Tue Apr 17 12:46:59 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
@ -51,8 +51,7 @@ ls | sed '/^build$/d' | xargs cp -at build/src/github.com/%{name}/%{name}
|
|||||||
cp -a vendor build/vendor/src
|
cp -a vendor build/vendor/src
|
||||||
|
|
||||||
pushd build/src/github.com/%{name}/%{name}/
|
pushd build/src/github.com/%{name}/%{name}/
|
||||||
go run build.go install all \
|
go run build.go -no-upgrade -version v%{version} install all
|
||||||
-version v%{version} -no-upgrade
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user