Skip to content

Commit 352872e

Browse files
cfergeaupraveenkumar
authored andcommitted
spec: Use 'make release'
The spec file is calling linux-release/macos-release/windows-release indvidually to avoid running `make check` which until now needed network access when building golangci-lint. Since golangci-lint is now vendored, we can switch back to using `make release` in the spec file.
1 parent a4c1220 commit 352872e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packaging/rpm/crc.spec.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export GOFLAGS="-mod=vendor"
6060
mkdir embed-files
6161
cp /usr/bin/crc-driver-libvirt embed-files
6262
cp /usr/bin/crc-admin-helper embed-files/crc-admin-helper-linux
63-
make GO_EXTRA_LDFLAGS="-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" GO_EXTRA_BUILDFLAGS="" CUSTOM_EMBED=true EMBED_DOWNLOAD_DIR=embed-files/ linux-release
64-
make GO_EXTRA_LDFLAGS="-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" GO_EXTRA_BUILDFLAGS="" macos-release-binary windows-release-binary
63+
make GO_EXTRA_LDFLAGS="-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n')" GO_EXTRA_BUILDFLAGS="" CUSTOM_EMBED=true EMBED_DOWNLOAD_DIR=embed-files/ release
6564

6665
%install
6766
# with fedora macros: gopkginstall

0 commit comments

Comments
 (0)