prefer using scripts in hack/ for buildtags

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-08-12 18:13:13 -04:00
parent 6213ea9b71
commit 2764a6e920

View File

@ -460,7 +460,7 @@ popd
ln -s vendor src 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="seccomp exclude_graphdriver_devicemapper $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh) $(hack/selinux_tag.sh) $(hack/systemd_tag.sh)"
%if 0%{?centos} %if 0%{?centos}
export BUILDTAGS+=" containers_image_ostree_stub" export BUILDTAGS+=" containers_image_ostree_stub"
%endif %endif