public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/radicale] epel10.2: selinux: adjust postun
@ 2026-10-08  5:35 Peter Bieringer
  0 siblings, 0 replies; only message in thread
From: Peter Bieringer @ 2026-10-08  5:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/radicale
Branch : epel10.2
Commit : ba04608c0a558314fd9b611b770d020ab9e96f95
Author : Peter Bieringer <pb@bieringer.de>
Date   : 2026-04-15T21:09:02+02:00
Stats  : +2/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/radicale/c/ba04608c0a558314fd9b611b770d020ab9e96f95?branch=epel10.2

Log:
selinux: adjust postun

---
diff --git a/radicale.spec b/radicale.spec
index 6e42ab5..14edb06 100644
--- a/radicale.spec
+++ b/radicale.spec
@@ -459,12 +459,8 @@ if [ $1 -eq 0 ] ; then
   fi
   for selinuxvariant in %{selinux_variants}
   do
-    if rpm -q selinux-policy-$selinuxvariant >/dev/null 2>&1; then
-      echo "SELinux semodule reset %{radicale_package_name} ($selinuxvariant)"
-      /usr/sbin/semodule -s ${selinuxvariant} -r %{name}
-    else
-      echo "SELinux semodule reset %{radicale_package_name} ($selinuxvariant) SKIPPED - policy not installed"
-    fi
+     %selinux_modules_uninstall -s ${selinuxvariant} -p 400 %{name}
+     %selinux_relabel_post -s ${selinuxvariant}
   done
 
   if [ -d %{_localstatedir}/log/%{name} ]; then

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08  5:35 [rpms/radicale] epel10.2: selinux: adjust postun Peter Bieringer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox