btrfs tags are detected by the hack/btrfs*.sh scripts already

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-08-12 17:57:38 -04:00
parent 7f173f60b7
commit 28e2922ca7

View File

@ -462,7 +462,7 @@ ln -s vendor src
# build %%{name} # build %%{name}
export BUILDTAGS="systemd seccomp exclude_graphdriver_devicemapper $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) $(hack/selinux_tag.sh)" export BUILDTAGS="systemd seccomp exclude_graphdriver_devicemapper $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) $(hack/selinux_tag.sh)"
%if 0%{?centos} %if 0%{?centos}
export BUILDTAGS+="exclude_graphdriver_btrfs containers_image_ostree_stub" export BUILDTAGS+=" containers_image_ostree_stub"
%endif %endif
%gobuild -o bin/%{name} %{import_path}/cmd/%{name} %gobuild -o bin/%{name} %{import_path}/cmd/%{name}