480384 Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)

Authored and Committed by Panu Matilainen 2 years ago
1 file changed. 5 lines added. 2 lines removed.
    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.
    
        
file modified
+5 -2
rpm.spec CHANGED
@@ -30,7 +30,7 @@
30
30
31
31
%global rpmver 4.18.0
32
32
%global snapver rc1
33
- %global baserelease 1
33
+ %global baserelease 2
34
34
%global sover 9
35
35
36
36
%global srcver %{rpmver}%{?snapver:-%{snapver}}
@@ -253,7 +253,7 @@ packages on a system.
253
253
%package plugin-selinux
254
254
Summary: Rpm plugin for SELinux functionality
255
255
Requires: rpm-libs%{_isa} = %{version}-%{release}
256
- Requires: selinux-policy-base
256
+ Requires(meta): selinux-policy-base
257
257
258
258
%description plugin-selinux
259
259
%{summary}.
@@ -610,6 +610,9 @@ fi
610
610
%doc docs/librpm/html/*
611
611
612
612
%changelog
613
+ * Wed Sep 07 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.2
614
+ - Break selinux-policy <-> rpm-plugin-selinux ordering loop (#1851266)
615
+
613
616
* Fri Sep 02 2022 Panu Matilainen <pmatilai@redhat.com> - 4.18.0-0.rc1.1
614
617
- Rebase to 4.18.0-rc1 (https://rpm.org/wiki/Releases/4.18.0)
615
618