Skip to content

Commit 1f09029

Browse files
committed
Improve spec
1 parent dd5f321 commit 1f09029

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor
2+
sslcli

common/sslcli.spec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ Pretty awesome command-line client for public SSLLabs API.
7878

7979
%build
8080
export GOPATH=$(pwd)
81-
go build src/github.com/essentialkaos/sslcli/%{name}.go
81+
pushd src/github.com/essentialkaos/%{name}
82+
go build -mod vendor -o $GOPATH/%{name} %{name}.go
83+
popd
8284

8385
%install
8486
rm -rf %{buildroot}
@@ -132,7 +134,7 @@ fi
132134
################################################################################
133135

134136
%changelog
135-
* Tue Mar 29 2022 Anton Novojilov <andy@essentialkaos.com> - 2,7,1-0
137+
* Tue Mar 29 2022 Anton Novojilov <andy@essentialkaos.com> - 2.7.1-0
136138
- Removed pkg.re usage
137139
- Added module info
138140
- Added Dependabot configuration

0 commit comments

Comments
 (0)