From 75df1ef4d2b59088259d958e4e3234ad2ee61684 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Mon, 21 Mar 2022 12:57:12 +0800 Subject: [PATCH] optimise conflicts version Signed-off-by: Chunmei Xu --- pam.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pam.spec b/pam.spec index a50c71a..230a9e7 100644 --- a/pam.spec +++ b/pam.spec @@ -1,8 +1,9 @@ +%define anolis_release 3 %global soname_version 0 Name: pam Version: 1.5.2 -Release: 2%{?dist} +Release: %{anolis_release}%{?dist} Summary: A Security Interface for Applications in Authentication activities License: GPL-2.0-or-later OR BSD-3-Clause @@ -99,7 +100,7 @@ documentation in txt and html format. Summary: Shared libraries of the PAM package # Make sure that if we don't try to upgrade -libs but not the # main pam package and get file conflicts: -Conflicts: pam < 1.5.2-11 +Conflicts: pam < 1.5.2 %description libs PAM (Pluggable Authentication Modules) is a system security tool that @@ -336,6 +337,9 @@ done %changelog +* Mon Mar 21 2022 Chunmei Xu - 1.5.2-3 +- optimise conflicts version + * Wed Mar 9 2022 James Wang - 1.5.2-2 - Remove pam_unix.so dependency to avoid build failed; -- Gitee