From b472e9b0972b0d597dafa03bb0b61412d46f7f38 Mon Sep 17 00:00:00 2001 From: "James.W" Date: Mon, 21 Mar 2022 11:08:14 +0800 Subject: [PATCH] Fix a build failure Remove pam_unix.so requires,suggests to avoid build failure. Signed-off-by: James.W --- pam.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pam.spec b/pam.spec index 9efa5b0..a50c71a 100644 --- a/pam.spec +++ b/pam.spec @@ -2,7 +2,7 @@ Name: pam Version: 1.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Security Interface for Applications in Authentication activities License: GPL-2.0-or-later OR BSD-3-Clause @@ -50,8 +50,6 @@ Requires: libpwquality%{?_isa} Requires: setup Requires: authselect >= 1.3 Requires: pam-libs%{?_isa} = %{version}-%{release} -Requires: pam_unix.so -Suggests: pam_unix Recommends: pam-manpages Recommends: login_defs-support-for-pam >= 1.5.2 @@ -338,5 +336,8 @@ done %changelog +* Wed Mar 9 2022 James Wang - 1.5.2-2 +- Remove pam_unix.so dependency to avoid build failed; + * Wed Mar 9 2022 James Wang - 1.5.2-1 - Inital version -- Gitee