Blame SOURCES/0020-fedora-Install-SELinux-interface-files-to-shared-inc.patch

f07426
From 61676035ec5f58df4f4cca024c772d7e0b43d7dc Mon Sep 17 00:00:00 2001
f07426
From: Stefano Brivio <sbrivio@redhat.com>
f07426
Date: Fri, 10 Mar 2023 19:10:01 +0100
f07426
Subject: [PATCH 20/20] fedora: Install SELinux interface files to shared
f07426
 include directory
f07426
f07426
Link: https://github.com/fedora-selinux/selinux-policy/pull/1613
f07426
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
f07426
(cherry picked from commit 70c0765b49e19b76639908a7686d8f795ba3ed24)
f07426
---
f07426
 contrib/fedora/passt.spec | 4 ++++
f07426
 1 file changed, 4 insertions(+)
f07426
f07426
diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
f07426
index 7f67bee..51cad90 100644
f07426
--- a/contrib/fedora/passt.spec
f07426
+++ b/contrib/fedora/passt.spec
f07426
@@ -61,7 +61,9 @@ ln -sr %{buildroot}%{_mandir}/man1/pasta.1 %{buildroot}%{_mandir}/man1/pasta.avx
f07426
 pushd contrib/selinux
f07426
 make -f %{_datadir}/selinux/devel/Makefile
f07426
 install -p -m 644 -D passt.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/passt.pp
f07426
+install -p -m 644 -D passt.if %{buildroot}%{_datadir}/selinux/devel/include/contrib/passt.if
f07426
 install -p -m 644 -D pasta.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/pasta.pp
f07426
+install -p -m 644 -D pasta.if %{buildroot}%{_datadir}/selinux/devel/include/contrib/pasta.if
f07426
 popd
f07426
 
f07426
 %post selinux
f07426
@@ -93,7 +95,9 @@ semodule -r pasta 2>/dev/null || :
f07426
 %files selinux
f07426
 %dir %{_datadir}/selinux/packages/%{name}
f07426
 %{_datadir}/selinux/packages/%{name}/passt.pp
f07426
+%{_datadir}/selinux/devel/include/contrib/passt.if
f07426
 %{_datadir}/selinux/packages/%{name}/pasta.pp
f07426
+%{_datadir}/selinux/devel/include/contrib/pasta.if
f07426
 
f07426
 %changelog
f07426
 {{{ passt_git_changelog }}}
f07426
-- 
f07426
2.39.2
f07426