spec: Grant cap_setuid/setgid on EL7
See https://github.com/projectatomic/bubblewrap/issues/102
This commit is contained in:
parent
a1922d9f9c
commit
eb745575df
@ -40,7 +40,7 @@ find %{buildroot} -name '*.la' -delete -print
|
||||
%dir %{_datadir}/bash-completion/completions
|
||||
%{_datadir}/bash-completion/completions/bwrap
|
||||
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
||||
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot=ep) %{_bindir}/bwrap
|
||||
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid=ep) %{_bindir}/bwrap
|
||||
%else
|
||||
%{_bindir}/bwrap
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user