From 2a4b303a6b7c61bf4a4e087fbed957c2ce68ebae Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Sep 07 2022 08:38:06 +0000 Subject: Make dependency on rpm-plugin-selinux unordered And break the dependency loop with rpm-plugin-selinux From rpm documentation: * meta (since rpm >= 4.16) Denotes a “meta” dependency, which must not affect transaction ordering. Typical use-cases would be meta-packages and sub-package cross-dependencies whose purpose is just to ensure the sub-packages stay on common version. Related: https://bugzilla.redhat.com/show_bug.cgi?id=1851266 --- diff --git a/selinux-policy.spec b/selinux-policy.spec index 5148238..4085406 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -71,7 +71,7 @@ BuildRequires: make BuildRequires: systemd-rpm-macros Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER} Requires(post): /bin/awk /usr/bin/sha512sum -Requires: rpm-plugin-selinux +Requires(meta): rpm-plugin-selinux Requires: selinux-policy-any = %{version}-%{release} Provides: selinux-policy-base = %{version}-%{release} Suggests: selinux-policy-targeted