Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
violethaze74
amazon-ssm-agent
Commits
999f36f1
Commit
999f36f1
authored
Jun 23, 2021
by
Thor Bjorgvinsson
Committed by
Ivan Aguilar
Jul 07, 2021
Browse files
Updating spec file for gomod
cr:
https://code.amazon.com/reviews/CR-52540123
parent
2959da82
Changes
1
Hide whitespace changes
Inline
Side-by-side
amazon-ssm-agent.spec
View file @
999f36f1
...
...
@@ -13,7 +13,7 @@ Source0 : https://github.com/aws/amazon-ssm-agent/%{name}-%{version}.tar.gz
Packager : Amazon.com, Inc. <http://aws.amazon.com>
Vendor : Amazon.com
BuildRequires: golang >= 1.1
3
.1
4
BuildRequires: golang >= 1.1
5
.1
2
%if 0%{?amzn} >= 2
BuildRequires: systemd-devel
...
...
@@ -32,9 +32,6 @@ sed -i -e 's#const[ \s]*Version.*#const Version = "%{version}"#g' agent/version/
%build
export GOPATH=`pwd`/vendor:`pwd`
ln -s `pwd` vendor/src/github.com/aws/amazon-ssm-agent
CGO_ENABLED=0 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -o bin/amazon-ssm-agent -v core/agent.go core/agent_unix.go core/agent_parser.go
CGO_ENABLED=0 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -o bin/ssm-agent-worker -v agent/agent.go agent/agent_unix.go agent/agent_parser.go
CGO_ENABLED=0 go build -ldflags "-s -w -extldflags=-Wl,-z,now,-z,relro,-z,defs" -buildmode=pie -o bin/ssm-document-worker -v agent/framework/processor/executer/outofproc/worker/main.go
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment