From 4b7a0b2c99993d3f0afec9e8756b809e321989eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Mr=C3=A1z?= Date: Thu, 15 Jul 2010 13:24:33 +0000 Subject: [PATCH] - do not overwrite tallylog with empty file on upgrade --- pam.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pam.spec b/pam.spec index 956517b..5eb71a1 100644 --- a/pam.spec +++ b/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} # 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+, License: BSD and GPLv2+ @@ -208,7 +208,7 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig -if [ ! -a /var/log/tallylog ] ; then +if [ ! -e /var/log/tallylog ] ; then install -m 600 /dev/null /var/log/tallylog fi @@ -333,6 +333,9 @@ fi %doc doc/adg/*.txt doc/adg/html %changelog +* Thu Jul 15 2010 Tomas Mraz 1.1.1-5 +- do not overwrite tallylog with empty file on upgrade + * Mon Feb 15 2010 Tomas Mraz 1.1.1-4 - change the default password hash to sha512