public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Malik <mmalik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: ensure the audit-rules package is installed on RHEL-10
Date: Fri, 11 Sep 2026 13:22:40 GMT	[thread overview]
Message-ID: <178913296096.1.13183433621182817879.tests-selinux-18fce0c6cc2f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : 18fce0c6cc2f1c8fdb0757f3c792a3e98a070d33
            Author : Milos Malik <mmalik@redhat.com>
            Date   : 2025-04-29T16:32:47+02:00
            Stats  : +2/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/18fce0c6cc2f1c8fdb0757f3c792a3e98a070d33?branch=pr775-checkpolicy-revdeps

            Log:
            ensure the audit-rules package is installed on RHEL-10

The audit-rules package is not built for RHEL-9.x, but it is built
for RHEL-10.x. The SELinux beakerlib library should count with that.

---
diff --git a/selinux-policy/Library/common/lib.sh b/selinux-policy/Library/common/lib.sh
index 1946dbd..018d821 100755
--- a/selinux-policy/Library/common/lib.sh
+++ b/selinux-policy/Library/common/lib.sh
@@ -2000,6 +2000,8 @@ rlSELibraryLoaded() {
         rlSE_REQUIRES="setools-console expect policycoreutils-python"
     elif rlIsRHEL 7 ; then
         rlSE_REQUIRES="setools-console expect policycoreutils-python selinux-policy-devel"
+    elif rlIsRHEL 8 9 || rlIsCentOS 8 9 ; then
+        rlSE_REQUIRES="setools-console expect policycoreutils-python-utils selinux-policy-devel"
     else
         rlSE_REQUIRES="setools-console expect policycoreutils-python-utils selinux-policy-devel audit-rules"
     fi

                 reply	other threads:[~2026-09-11 13:22 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=178913296096.1.13183433621182817879.tests-selinux-18fce0c6cc2f@fedoraproject.org \
    --to=mmalik@redhat.com \
    --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