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.
This commit is contained in:
Panu Matilainen 2022-09-07 09:48:58 +03:00
parent 7e293eda16
commit 480384be6c
1 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,7 @@
%global rpmver 4.18.0 %global rpmver 4.18.0
%global snapver rc1 %global snapver rc1
%global baserelease 1 %global baserelease 2
%global sover 9 %global sover 9
%global srcver %{rpmver}%{?snapver:-%{snapver}} %global srcver %{rpmver}%{?snapver:-%{snapver}}
@ -253,7 +253,7 @@ packages on a system.
%package plugin-selinux %package plugin-selinux
Summary: Rpm plugin for SELinux functionality Summary: Rpm plugin for SELinux functionality
Requires: rpm-libs%{_isa} = %{version}-%{release} Requires: rpm-libs%{_isa} = %{version}-%{release}
Requires: selinux-policy-base Requires(meta): selinux-policy-base
%description plugin-selinux %description plugin-selinux
%{summary}. %{summary}.
@ -610,6 +610,9 @@ fi
%doc docs/librpm/html/* %doc docs/librpm/html/*
%changelog %changelog
* Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
- Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1 * Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0) - Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)