Fix typo. Quite warnings
This commit is contained in:
parent
7a3e313cd4
commit
0222d2ce6e
20
pcsc-lite-1.4.4-quiet.patch
Normal file
20
pcsc-lite-1.4.4-quiet.patch
Normal 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();
|
11
pcsc-lite-1.4.4-service.patch
Normal file
11
pcsc-lite-1.4.4-service.patch
Normal 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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user