diff --git a/selinux-policy.changes b/selinux-policy.changes index 6eb8593..3e73cf0 100644 --- a/selinux-policy.changes +++ b/selinux-policy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 28 14:40:23 UTC 2023 - Hu + +- Trigger rebuild of the policy when pcre2 gets updated to avoid + regex version mismatch errors (bsc#1216747). + ------------------------------------------------------------------- Fri Nov 24 09:34:20 UTC 2023 - cathy.hu@suse.com diff --git a/selinux-policy.spec b/selinux-policy.spec index f4740c5..590b356 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -539,6 +539,10 @@ exit 0 %postun targeted %post_un $1 targeted +%triggerin -- libpcre2-8-0 +%{_sbindir}/selinuxenabled && %{_sbindir}/semodule -nB +exit 0 + %files targeted -f %{buildroot}%{_datadir}/selinux/targeted/nonbasemodules.lst %config(noreplace) %{_sysconfdir}/selinux/targeted/contexts/users/unconfined_u %config(noreplace) %{_sysconfdir}/selinux/targeted/contexts/users/sysadm_u