From f9eb8954677188ad15fdf47c7112e315e8cf00e12750c649332de81e2ebc35bf Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Sun, 12 Sep 2021 13:11:26 +0000 Subject: [PATCH] Accepting request 918503 from home:Vogtinator:plasma5.22 - Add a hard dependency for the 32bit libs to provide a safeguard for the most common case, when the soft dependency in baselibs.conf is not enough. OBS-URL: https://build.opensuse.org/request/show/918503 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/pam_kwallet?expand=0&rev=210 --- pam_kwallet.changes | 7 +++++++ pam_kwallet.spec | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/pam_kwallet.changes b/pam_kwallet.changes index 1fb89e1..75a1833 100644 --- a/pam_kwallet.changes +++ b/pam_kwallet.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Sep 12 09:46:53 UTC 2021 - Fabian Vogt + +- Add a hard dependency for the 32bit libs to provide a safeguard + for the most common case, when the soft dependency in baselibs.conf + is not enough. + ------------------------------------------------------------------- Tue Aug 31 19:08:46 UTC 2021 - Fabian Vogt diff --git a/pam_kwallet.spec b/pam_kwallet.spec index af55f1c..0373f22 100644 --- a/pam_kwallet.spec +++ b/pam_kwallet.spec @@ -39,6 +39,11 @@ BuildRequires: socat BuildRequires: xz BuildRequires: cmake(KF5Wallet) >= 5.58.0 Requires: %{name}-common = %{version} +# PAM modules need to be available for all archs of PAM on the system, otherwise pam-config +# will not enable it. +# Technically there can be different suffixes than just -32bit, but that's the most common. +# Expressing a hard dependency the other way around in baselibs.conf is not possible. +Requires: (%{name}-32bit if pam-32bit) %if 0%{?suse_version} >= 1330 Requires(post): coreutils pam pam-config Requires(postun):coreutils pam pam-config