From 2ded9f0893f850d9fd94578d71c519a02ef6b562 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 11 Aug 2023 10:01:39 -0400 Subject: [PATCH] fix buildtags --- buildah.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildah.spec b/buildah.spec index 72a3ae3..58265d2 100644 --- a/buildah.spec +++ b/buildah.spec @@ -119,7 +119,7 @@ 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' %endif