container-selinux-2.205.0-3.el8

- fix build for stable module
- Related: #2176055

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
Jindrich Novy 2023-05-02 17:23:36 +02:00
parent d752d4376f
commit 18d3330d8f

View File

@ -20,7 +20,7 @@
Epoch: 2
Name: container-selinux
Version: 2.205.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2
URL: %{git0}
Summary: SELinux policies for container runtimes
@ -54,13 +54,9 @@ SELinux policy modules for use with container runtimes.
%prep
%autosetup -Sgit
# Remove some lines for RHEL 8 build
%if ! 0%{?fedora} && 0%{?rhel} <= 8
sed -i 's/watch watch_reads//' container.if
sed -i '/sysfs_t:dir watch/d' container.te
sed -i '/systemd_chat_resolved/d' container.te
%endif
sed -i 's/man: install-policy/man:/' Makefile
sed -i 's/install: man/install:/' Makefile
@ -126,6 +122,10 @@ fi
%{_datadir}/udica/templates/*
%changelog
* Tue May 02 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.205.0-3
- fix build for stable module
- Related: #2176055
* Fri Apr 14 2023 Jindrich Novy <jnovy@redhat.com> - 2:2.205.0-2
- use conditionals from https://github.com/containers/container-selinux/blob/main/container-selinux.spec.rpkg
- Related: #2176055