From 2027aa69763681030c2f04162dcef2baa504917d Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Mon, 8 Jul 2024 22:07:04 +0300 Subject: [PATCH] rm buggy posttrans which breaks if-else etc. --- pam.spec | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/pam.spec b/pam.spec index 0f90c77..0fb0c33 100644 --- a/pam.spec +++ b/pam.spec @@ -15,7 +15,7 @@ Summary: A security tool which provides authentication for applications Name: pam Version: 1.6.1 -Release: 2 +Release: 3 Epoch: 1 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+, @@ -138,14 +138,6 @@ having to recompile programs that handle authentication. %{_prefix}/lib/tmpfiles.d/pam.conf %{_sbindir}/faillock -%posttrans -set -e -if ! test -f /var/lib/.pam-posttrans-cleanup && grep -qE 'pam_console|pam_lastlog' /etc/pam.d/* -then - sed -i'.rpmsave' -e '/pam_console.so/d' -e '/pam_lastlog.so/d' /etc/pam.d/* - touch /var/lib/.pam-posttrans-cleanup -fi - #---------------------------------------------------------------------------- %package doc