rpms/pcsc-lite/devel pcsc-lite.spec,1.4,1.5
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jul 24 22:04:31 UTC 2006
- Previous message (by thread): rpms/gfs2-utils/devel .cvsignore, 1.3, 1.4 gfs2-utils.spec, 1.5, 1.6 sources, 1.3, 1.4
- Next message (by thread): rpms/eclipse-cdt/devel .cvsignore, 1.17, 1.18 eclipse-cdt.spec, 1.47, 1.48 sources, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rrelyea
Update of /cvs/dist/rpms/pcsc-lite/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31503
Modified Files:
pcsc-lite.spec
Log Message:
start pcscd when pcsc-lite is installed.
Index: pcsc-lite.spec
===================================================================
RCS file: /cvs/dist/rpms/pcsc-lite/devel/pcsc-lite.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pcsc-lite.spec 16 Jul 2006 18:43:32 -0000 1.4
+++ pcsc-lite.spec 24 Jul 2006 22:04:27 -0000 1.5
@@ -1,6 +1,6 @@
Name: pcsc-lite
Version: 1.3.1
-Release: 4
+Release: 5
Summary: PC/SC Lite smart card framework and applications
Group: System Environment/Daemons
@@ -13,8 +13,11 @@
BuildRequires: libusb-devel >= 0.1.7
BuildRequires: doxygen
+Requires(post): initscripts
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
+Requires(preun): initscripts
+Requires(postun): initscripts
Requires: pcsc-ifd-handler
# 390 does not have libusb or smartCards
ExcludeArch: s390 s390x
@@ -93,7 +96,13 @@
%post
-/sbin/chkconfig --add pcscd
+if [ $1 -eq 1 ] ; then
+ /sbin/chkconfig --add pcscd
+ /sbin/chkconfig --level 345 pcscd on
+ %{_initrddir}/pcscd start
+else
+ %{_initrddir}/pcscd try-restart || :
+fi
%preun
if [ $1 -eq 0 ] ; then
@@ -102,7 +111,7 @@
fi
%postun
-[ $1 -gt 0 ] && %{_initrddir}/pcscd try-restart >/dev/null || :
+[ $1 -gt 0 ] && %{_initrddir}/pcscd try-restart || :
%post libs -p /sbin/ldconfig
@@ -141,6 +150,9 @@
%changelog
+* Sun Jul 24 2006 Bob Relyea <rrelyea at redhat.com> - 1.3.1-5
+- start pcscd when pcsc-lite is installed
+
* Sun Jul 16 2006 Florian La Roche <laroche at redhat.com> - 1.3.1-4
- fix excludearch line
- Previous message (by thread): rpms/gfs2-utils/devel .cvsignore, 1.3, 1.4 gfs2-utils.spec, 1.5, 1.6 sources, 1.3, 1.4
- Next message (by thread): rpms/eclipse-cdt/devel .cvsignore, 1.17, 1.18 eclipse-cdt.spec, 1.47, 1.48 sources, 1.19, 1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list