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
|
%dir %{_datadir}/bash-completion/completions
|
||||||
%{_datadir}/bash-completion/completions/bwrap
|
%{_datadir}/bash-completion/completions/bwrap
|
||||||
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
%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
|
%else
|
||||||
%{_bindir}/bwrap
|
%{_bindir}/bwrap
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user