diff --git a/pcsc-lite.spec b/pcsc-lite.spec index bdd40f0..269200f 100644 --- a/pcsc-lite.spec +++ b/pcsc-lite.spec @@ -2,7 +2,7 @@ Name: pcsc-lite Version: 1.7.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: PC/SC Lite smart card framework and applications Group: System Environment/Daemons @@ -104,7 +104,7 @@ rm $RPM_BUILD_ROOT%{_docdir}/pcsc-lite/README.DAEMON %post if [ $1 -eq 1 ] ; then # Initial installation - /bin/systemctl enable pcscd.socket >/dev/null 2>&1 + /bin/systemctl enable pcscd.socket >/dev/null 2>&1 || : fi %preun @@ -128,7 +128,7 @@ fi %{_bindir}/systemd-sysv-convert --save pcscd >/dev/null 2>&1 ||: # Enable pcscd socket activation -/bin/systemctl enable pcscd.socket >/dev/null 2>&1 +/bin/systemctl enable pcscd.socket >/dev/null 2>&1 || : # Run these because the SysV package being removed won't do them /sbin/chkconfig --del pcscd >/dev/null 2>&1 || : @@ -170,6 +170,9 @@ fi %changelog +* Sun Sep 04 2011 Kalev Lember - 1.7.4-4 +- Ignore errors from 'systemctl enable' (#734852) + * Sat Aug 20 2011 Kalev Lember - 1.7.4-3 - Use /var/run/pcscd for ipc directory (#722449)