#50 Add `Recommends: (rpm-plugin-selinux if selinux-policy)`
Closed 7 months ago by pmatilai. Opened 8 months ago by walters.
rpms/ walters/rpm recommend-if-selinux  into  rawhide

file modified
+1
@@ -54,6 +54,7 @@ 

  Requires: curl

  Conflicts: systemd < 253.5-6

  Obsoletes: python2-rpm < %{version}-%{release}

+ Recommends: (%{name}-plugin-selinux if selinux-policy)

  

  # XXX generally assumed to be installed but make it explicit as rpm

  # is a bit special...

This pairs with https://src.fedoraproject.org/rpms/selinux-policy/pull-request/370

Basically I want to break the hard selinux-policy -> rpm dependency,
but this should help ensure that we don't somehow lose rpm-plugin-selinux
on package-based systems.

Only people disabling recommends would be at some risk. We could
also choose to upgrade this to a Requires.

NAK, we specifically do not want rpm to depend on selinux in any form because it doesn't. The plugin requires a policy for functionality, but that is already covered. The dependency is on the policy side already, which is where it belongs.

Pull-Request has been closed by pmatilai

7 months ago
Metadata