delete systemd_chat_resolved for centos 8 packit builds
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
5434a9802e
commit
496d853e1c
@ -56,10 +56,15 @@ SELinux policy modules for use with container runtimes.
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit %{name}-%{built_tag_strip}
|
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||||
# https://github.com/containers/container-selinux/issues/203
|
# https://github.com/containers/container-selinux/issues/203
|
||||||
%if 0%{?fedora} <= 37
|
%if 0%{?fedora} <= 37 || 0%{?centos}
|
||||||
sed -i '/user_namespace/d' container.te
|
sed -i '/user_namespace/d' container.te
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?centos} == 8
|
||||||
|
sed -i '/systemd_chat_resolved/d' container.te
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user