From 047a9f8cdfc0459065e2c4ef83f137ecb193e54a Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 11 Aug 2023 14:10:23 -0400 Subject: [PATCH] use double quotes for buildtags --- buildah.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildah.spec b/buildah.spec index 58265d2..b728251 100644 --- a/buildah.spec +++ b/buildah.spec @@ -119,9 +119,9 @@ export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full" export CNI_VERSION=`grep '^# github.com/containernetworking/cni ' src/modules.txt | sed 's,.* ,,'` export LDFLAGS="-X main.buildInfo=`date +%s` -X main.cniVersion=${CNI_VERSION}" -export BUILDTAGS='seccomp exclude_graphdriver_devicemapper $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)' +export BUILDTAGS="seccomp exclude_graphdriver_devicemapper $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)" %if !%{defined build_with_btrfs} -export BUILDTAGS+=' btrfs_noversion exclude_graphdriver_btrfs' +export BUILDTAGS+=" btrfs_noversion exclude_graphdriver_btrfs" %endif %gobuild -o bin/%{name} ./cmd/%{name}