Hi folks,

Many applications ship their own "-selinux" sub-package. These
subpackages usually set a minimal dependency on the exact
selinux-policy version in the buildroot.

In Ceph's case, we have:

  Requires(post): selinux-policy-base >= %{_selinux_policy_version}

This version requirement causes problems in two scenarios:

1. If we build Ceph on CentOS Stream, the ceph-selinux package will be
uninstallable on RHEL.

2. If we build Ceph on the latest RHEL 8, the ceph-selinux package
package will be uninstallable on RHEL 8 EUS.

Is it safe to drop the exact version requirement here and just depend
on an unversioned "selinux-policy-base"?

I can't find any official Fedora Packaging Guideline on this. I opened
https://tracker.ceph.com/issues/49034 to track this in Ceph upstream.

- Ken
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to