Add shadow-utils-subid-devel BuildRequires to pick up proper subid support
This commit is contained in:
parent
8d7546734e
commit
2efac3a306
@ -60,6 +60,7 @@ BuildRequires: libassuan-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: ostree-devel
|
||||
BuildRequires: btrfs-progs-devel
|
||||
BuildRequires: shadow-utils-subid-devel
|
||||
Requires: containers-common >= 4:1-46
|
||||
Suggests: containernetworking-plugins >= 0.9.1-1
|
||||
Requires: netavark
|
||||
@ -164,7 +165,7 @@ export LDFLAGS="-X main.buildInfo=`date +%s` -X main.cniVersion=${CNI_VERSION}"
|
||||
|
||||
export BUILDTAGS='seccomp exclude_graphdriver_devicemapper'
|
||||
%if "%{_vendor}" != "debbuild"
|
||||
export BUILDTAGS+=' selinux'
|
||||
export BUILDTAGS+=' libsubid selinux'
|
||||
%endif
|
||||
%gobuild -o bin/%{name} %{import_path}/cmd/%{name}
|
||||
%gobuild -o bin/imgtype %{import_path}/tests/imgtype
|
||||
|
Loading…
Reference in New Issue
Block a user