From 7aaaf97880ad2427e9713fd364c76f61cea26372 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 2 Dec 2020 14:32:36 -0500 Subject: [PATCH] adjust btrfs for centos8 Signed-off-by: Lokesh Mandvekar (cherry picked from commit 5a00dc67641d6fb0df1561cdfb01ee74234c6368) Signed-off-by: Lokesh Mandvekar --- skopeo.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skopeo.spec b/skopeo.spec index f0ab17e..db52981 100644 --- a/skopeo.spec +++ b/skopeo.spec @@ -314,6 +314,9 @@ export GOPATH=$(pwd):$(pwd)/vendor %endif mkdir -p bin +%if 0%{?centos} >= 8 +export BUILDTAGS='exclude_graphdriver_btrfs btrfs_noversion' +%endif %gobuild -o bin/%{name} ./cmd/%{name} pushd docs for file in $(ls | grep 1.md)