aboutgitcodebugslistschat
path: root/contrib/fedora
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-03-10 19:10:01 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-03-10 20:01:41 +0100
commit70c0765b49e19b76639908a7686d8f795ba3ed24 (patch)
treef084170278375b53cb213ecaef08adc0ac6e4875 /contrib/fedora
parent93105ea06619d4c199f8140f4b75ae359757dc6d (diff)
downloadpasst-70c0765b49e19b76639908a7686d8f795ba3ed24.tar
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.tar.gz
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.tar.bz2
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.tar.lz
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.tar.xz
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.tar.zst
passt-70c0765b49e19b76639908a7686d8f795ba3ed24.zip
fedora: Install SELinux interface files to shared include directory2023_03_10.70c0765
Link: https://github.com/fedora-selinux/selinux-policy/pull/1613 Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/fedora')
-rw-r--r--contrib/fedora/passt.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index 7f67bee..51cad90 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -61,7 +61,9 @@ ln -sr %{buildroot}%{_mandir}/man1/pasta.1 %{buildroot}%{_mandir}/man1/pasta.avx
pushd contrib/selinux
make -f %{_datadir}/selinux/devel/Makefile
install -p -m 644 -D passt.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/passt.pp
+install -p -m 644 -D passt.if %{buildroot}%{_datadir}/selinux/devel/include/contrib/passt.if
install -p -m 644 -D pasta.pp %{buildroot}%{_datadir}/selinux/packages/%{name}/pasta.pp
+install -p -m 644 -D pasta.if %{buildroot}%{_datadir}/selinux/devel/include/contrib/pasta.if
popd
%post selinux
@@ -93,7 +95,9 @@ semodule -r pasta 2>/dev/null || :
%files selinux
%dir %{_datadir}/selinux/packages/%{name}
%{_datadir}/selinux/packages/%{name}/passt.pp
+%{_datadir}/selinux/devel/include/contrib/passt.if
%{_datadir}/selinux/packages/%{name}/pasta.pp
+%{_datadir}/selinux/devel/include/contrib/pasta.if
%changelog
{{{ passt_git_changelog }}}