adjust btrfs for centos8

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
(cherry picked from commit 5a00dc67641d6fb0df1561cdfb01ee74234c6368)
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-12-02 14:32:36 -05:00
parent 1bd907417d
commit 7aaaf97880

View File

@ -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)