Fix typo. Quite warnings

This commit is contained in:
Robert Relyea 2008-01-16 23:33:19 +00:00
parent 7a3e313cd4
commit 0222d2ce6e
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,20 @@
--- ./src/winscard_clnt.c.quiet 2008-01-16 12:35:22.351449000 -0800
+++ ./src/winscard_clnt.c 2008-01-16 12:35:38.034369000 -0800
@@ -3415,7 +3415,7 @@
if (rv != 0)
{
- Log1(PCSC_LOG_ERROR, "PCSC Not Running");
+ Log1(PCSC_LOG_INFO, "PCSC Not Running");
return SCARD_E_NO_SERVICE;
}
@@ -3434,7 +3434,7 @@
{
int i;
- Log1(PCSC_LOG_ERROR, "PCSC restarted");
+ Log1(PCSC_LOG_INFO, "PCSC restarted");
/* invalid all handles */
SCardLockThread();

View File

@ -0,0 +1,11 @@
--- ./etc/pcscd.init.in.service 2008-01-16 12:50:03.040049000 -0800
+++ ./etc/pcscd.init.in 2008-01-16 12:50:29.460919000 -0800
@@ -37,7 +37,7 @@
PCSCD_OPTIONS=
# Source config
-if [ -f @sysconfdir_exp@/sysconfig/pscsd ] ; then
+if [ -f @sysconfdir_exp@/sysconfig/pcscd ] ; then
. @sysconfdir_exp@/sysconfig/pcscd
fi

View File

@ -1,6 +1,6 @@
Name: pcsc-lite
Version: 1.4.4
Release: 1%{dist}
Release: 2%{dist}
Summary: PC/SC Lite smart card framework and applications
Group: System Environment/Daemons
@ -9,6 +9,9 @@ URL: http://pcsclite.alioth.debian.org/
Source0: http://alioth.debian.org/download.php/2106/%{name}-%{version}.tar.gz
Patch0: %{name}-1.4-docinst.patch
Patch1: %{name}-1.3.0-rpath64.patch
# upstream rev 2731
Patch2: %{name}-1.4.4-quiet.patch
Patch3: %{name}-1.4.4-service.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -62,6 +65,8 @@ Group: Documentation
%setup -q
%patch0 -p0 -b .docinst
%patch1 -p1 -b .rpath64
%patch2 -p0 -b .quiet
%patch3 -p0 -b .service
%build
%configure \
@ -148,6 +153,10 @@ fi
%changelog
* Wed Jan 16 2008 Bob Relyea <rrelyea@redhat.com> - 1.4.4-2
- Silence libpcsc-lite even when the daemon isn't running.
- fix typo in init file which prevents the config file from being read.
* Tue Nov 22 2007 Bob Relyea <rrelyea@redhat.com> - 1.4.4-1
- Pick up 1.4.4