mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 22:27:41 -05:00
freeipa.spec: client: depend on libsss_sudo and sudo
On 10.10+ releases of Dogtag, the PKI installer will not depend on sudo anymore. This opens the possibility of creating IPA servers without a properly configured sudo. In fact, even IPA clients should have sudo and libsss_sudo installed in most cases, so add a weak dependency on both of them to the client subpackage. Also make sure libsss_sudo is installed if sudo is present. Fixes: https://pagure.io/freeipa/issue/8530 Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Armando Neto <abiagion@redhat.com> Reviewed-By: Michal Polovka <mpolovka@redhat.com>
This commit is contained in:
1 parent
ca17a81a30
commit
fcfefe0a26
1 file changed
+5
@@ -635,6 +635,11 @@ Requires: nfs-utils
|
||||
Requires: sssd-tools >= %{sssd_version}
|
||||
Requires(post): policycoreutils
|
||||
|
||||
# https://pagure.io/freeipa/issue/8530
|
||||
Recommends: libsss_sudo
|
||||
Recommends: sudo
|
||||
Requires: (libsss_sudo if sudo)
|
||||
|
||||
Provides: %{alt_name}-client = %{version}
|
||||
Conflicts: %{alt_name}-client
|
||||
Obsoletes: %{alt_name}-client < %{version}
|
||||
|
||||
Reference in new issue
Block a user