From 7f53268f73828bbb0f521bd02707b8c5e1ded31a Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Mon, 2 Sep 2024 10:42:07 +0200 Subject: [PATCH] spec: add `libdb-utils` dependency for pam_userdb It is required to convert pam_userdb database from BerkeleyDB to GDBM. Signed-off-by: Iker Pedrosa --- packaging/leapp-repository.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/leapp-repository.spec b/packaging/leapp-repository.spec index 146afc456b..0d63ba02a5 100644 --- a/packaging/leapp-repository.spec +++ b/packaging/leapp-repository.spec @@ -211,6 +211,12 @@ Requires: dracut Requires: NetworkManager-libnm Requires: python3-gobject-base +%endif + +%if 0%{?rhel} && 0%{?rhel} == 9 +############# RHEL 9 dependencies (when the source system is RHEL 9) ########## +# Required to convert pam_userdb database from BerkeleyDB to GDBM +Requires: libdb-utils %endif ################################################## # end requirement