rpms/pcsc-lite/devel pcsc-lite.spec,1.5,1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Jul 31 20:41:55 UTC 2006
- Previous message (by thread): rpms/libsoup/FC-5 .cvsignore, 1.17, 1.18 libsoup.spec, 1.34, 1.35 sources, 1.18, 1.19
- Next message (by thread): rpms/gtkhtml3/FC-5 .cvsignore, 1.33, 1.34 gtkhtml3.spec, 1.59, 1.60 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/dist/rpms/pcsc-lite/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14434
Modified Files:
pcsc-lite.spec
Log Message:
- follow packaging guidelines for setting up init service
(bug 200778)
Index: pcsc-lite.spec
===================================================================
RCS file: /cvs/dist/rpms/pcsc-lite/devel/pcsc-lite.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pcsc-lite.spec 24 Jul 2006 22:04:27 -0000 1.5
+++ pcsc-lite.spec 31 Jul 2006 20:41:37 -0000 1.6
@@ -1,6 +1,6 @@
Name: pcsc-lite
Version: 1.3.1
-Release: 5
+Release: 6
Summary: PC/SC Lite smart card framework and applications
Group: System Environment/Daemons
@@ -96,22 +96,18 @@
%post
-if [ $1 -eq 1 ] ; then
- /sbin/chkconfig --add pcscd
- /sbin/chkconfig --level 345 pcscd on
- %{_initrddir}/pcscd start
-else
- %{_initrddir}/pcscd try-restart || :
-fi
+/sbin/chkconfig --add pcscd
%preun
-if [ $1 -eq 0 ] ; then
- %{_initrddir}/pcscd stop >/dev/null || :
+if [ $1 = 0 ] ; then
+ /sbin/service pcscd stop >/dev/null 2>&1 || :
/sbin/chkconfig --del pcscd
fi
%postun
-[ $1 -gt 0 ] && %{_initrddir}/pcscd try-restart || :
+if [ "$1" -ge "1" ]; then
+ /sbin/service pcscd condrestart >/dev/null 2>&1 || :
+fi
%post libs -p /sbin/ldconfig
@@ -150,6 +146,10 @@
%changelog
+* Mon Jul 31 2006 Ray Strode <rstrode at redhat.com> - 1.3.1-6
+- follow packaging guidelines for setting up init service
+ (bug 200778)
+
* Sun Jul 24 2006 Bob Relyea <rrelyea at redhat.com> - 1.3.1-5
- start pcscd when pcsc-lite is installed
- Previous message (by thread): rpms/libsoup/FC-5 .cvsignore, 1.17, 1.18 libsoup.spec, 1.34, 1.35 sources, 1.18, 1.19
- Next message (by thread): rpms/gtkhtml3/FC-5 .cvsignore, 1.33, 1.34 gtkhtml3.spec, 1.59, 1.60 sources, 1.34, 1.35
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list