Skip to content

Commit 42cfa99

Browse files
committed
Improve spec
1 parent 1d45e77 commit 42cfa99

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

common/sslcli.spec

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
################################################################################
22

3-
# rpmbuilder:relative-pack true
4-
5-
################################################################################
6-
73
%global crc_check pushd ../SOURCES ; sha512sum -c %{SOURCE100} ; popd
84

95
################################################################################
@@ -77,6 +73,11 @@ Pretty awesome command-line client for public SSLLabs API.
7773
%setup -q
7874

7975
%build
76+
if [[ ! -d "%{name}/vendor" ]] ; then
77+
echo "This package requires vendored dependencies"
78+
exit 1
79+
fi
80+
8081
pushd %{name}
8182
go build %{name}.go
8283
cp LICENSE ..

0 commit comments

Comments
 (0)