rpms/bluez-utils/devel bluez-utils.spec,1.41,1.42
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 18 01:08:29 UTC 2006
Author: pjones
Update of /cvs/dist/rpms/bluez-utils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5252
Modified Files:
bluez-utils.spec
Log Message:
- fix the chkconfig and service invocations
- bump the release
- changelog
Index: bluez-utils.spec
===================================================================
RCS file: /cvs/dist/rpms/bluez-utils/devel/bluez-utils.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- bluez-utils.spec 17 Apr 2006 19:04:01 -0000 1.41
+++ bluez-utils.spec 18 Apr 2006 01:08:13 -0000 1.42
@@ -79,20 +79,26 @@
%post
/sbin/chkconfig --add bluetooth
/sbin/chkconfig --add hidd
+/sbin/chkconfig --add dund
+/sbin/chkconfig --add pand
if [ "$1" = "1" ]; then
-/sbin/service bluetooth condrestart
-/sbin/service hidd condrestart
+ /sbin/service bluetooth condrestart >/dev/null 2>&1
+ /sbin/service hidd condrestart >/dev/null 2>&1
+ /sbin/service dund condrestart >/dev/null 2>&1
+ /sbin/service pand condrestart >/dev/null 2>&1
fi
-exit 0
%preun
-/sbin/service bluetooth stop > /dev/null 2>&1
-/sbin/service hidd stop > /dev/null 2>&1
if [ "$1" = "0" ]; then
-/sbin/chkconfig --del bluetooth
-/sbin/chkconfig --del hidd
+ /sbin/service bluetooth stop >/dev/null 2>&1
+ /sbin/service hidd stop >/dev/null 2>&1
+ /sbin/service dund stop >/dev/null 2>&1
+ /sbin/service pand stop >/dev/null 2>&1
+ /sbin/chkconfig --del bluetooth
+ /sbin/chkconfig --del hidd
+ /sbin/chkconfig --del dund
+ /sbin/chkconfig --del pand
fi
-exit 0
%files
%defattr(-, root, root)
@@ -113,8 +119,9 @@
%{_libdir}/cups/backend/bluetooth
%changelog
-* Mon Apr 17 2006 Peter Jones <pjones at redhat.com> - 2.25-
+* Mon Apr 17 2006 Peter Jones <pjones at redhat.com> - 2.25-6
- Clean up initscripts.
+- Clean up specfile.
* Thu Mar 23 2006 Peter Jones <pjones at redhat.com> - 2.25-5
- Don't poll every 200ms when nothing happens unless there's poll event
More information about the fedora-cvs-commits
mailing list