public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Bieringer <pb@bieringer.de>
To: git-commits@fedoraproject.org
Subject: [rpms/radicale] epel10.2: selinux: adjust postun
Date: Thu, 08 Oct 2026 05:35:04 GMT	[thread overview]
Message-ID: <179143770467.1.4883870175958955849.rpms-radicale-ba04608c0a55@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-08  5:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179143770467.1.4883870175958955849.rpms-radicale-ba04608c0a55@fedoraproject.org \
    --to=pb@bieringer.de \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox