diff --git a/SPECS/tigervnc.spec b/SPECS/tigervnc.spec index 2e6fbf1..4a61786 100644 --- a/SPECS/tigervnc.spec +++ b/SPECS/tigervnc.spec @@ -5,7 +5,7 @@ Name: tigervnc Version: 1.11.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A TigerVNC remote display system %global _hardened_build 1 @@ -286,14 +286,14 @@ install -m 644 %{SOURCE4} %{buildroot}/%{_docdir}/tigervnc/HOWTO.md %systemd_postun xvnc.service %systemd_postun xvnc.socket -%pre +%pre selinux %selinux_relabel_pre -s %{selinuxtype} -%post +%post selinux %selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2 %selinux_relabel_post -s %{selinuxtype} -%postun +%postun selinux if [ $1 -eq 0 ]; then %selinux_modules_uninstall -s %{selinuxtype} %{modulename} %selinux_relabel_post -s %{selinuxtype} @@ -347,6 +347,10 @@ fi %ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} %changelog +* Tue Jun 01 2021 Jan Grulich - 1.11.0-8 +- Run all SELinux RPM macros on correct package + Resolves: bz#1907963 + * Mon May 17 2021 Jan Grulich - 1.11.0-7 - SELinux improvements Resolves: bz#1907963