From 480384be6c1b014b416477f21e969bff0a6b4f37 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sep 07 2022 06:52:27 +0000 Subject: Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266) Technically the packages depend on each other in that if you install on, the other must be pulled in for the functionality. However the installation order doesn't matter, as the plugin will only be used in the next transaction anyway. Thus, making that dependency unordered by flagging it as "meta" resolves the ordering loop. --- diff --git a/rpm.spec b/rpm.spec index a75482c..0589b3d 100644 --- a/rpm.spec +++ b/rpm.spec @@ -30,7 +30,7 @@ %global rpmver 4.18.0 %global snapver rc1 -%global baserelease 1 +%global baserelease 2 %global sover 9 %global srcver %{rpmver}%{?snapver:-%{snapver}} @@ -253,7 +253,7 @@ packages on a system. %package plugin-selinux Summary: Rpm plugin for SELinux functionality Requires: rpm-libs%{_isa} = %{version}-%{release} -Requires: selinux-policy-base +Requires(meta): selinux-policy-base %description plugin-selinux %{summary}. @@ -610,6 +610,9 @@ fi %doc docs/librpm/html/* %changelog +* Wed Sep 07 2022 Panu Matilainen - 4.18.0-0.rc1.2 +- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266) + * Fri Sep 02 2022 Panu Matilainen - 4.18.0-0.rc1.1 - Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)