mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 16:32:51 +00:00
rm buggy posttrans which breaks if-else etc.
This commit is contained in:
parent
bbbe055df0
commit
2027aa6976
1 changed files with 1 additions and 9 deletions
10
pam.spec
10
pam.spec
|
@ -15,7 +15,7 @@
|
||||||
Summary: A security tool which provides authentication for applications
|
Summary: A security tool which provides authentication for applications
|
||||||
Name: pam
|
Name: pam
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
# 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+,
|
# 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
|
%{_prefix}/lib/tmpfiles.d/pam.conf
|
||||||
%{_sbindir}/faillock
|
%{_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
|
%package doc
|
||||||
|
|
Loading…
Add table
Reference in a new issue