rpms/bluez-utils/F-8 bluez-utils.spec,1.82,1.83

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Sun Oct 28 19:50:17 UTC 2007


Author: katzj

Update of /cvs/pkgs/rpms/bluez-utils/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12841

Modified Files:
	bluez-utils.spec 
Log Message:
* Sun Oct 28 2007 Jeremy Katz <katzj at redhat.com> - 3.20-4
- Follow guidelines for scriplets to quiet error (#354531)



Index: bluez-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bluez-utils/F-8/bluez-utils.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- bluez-utils.spec	26 Oct 2007 10:37:25 -0000	1.82
+++ bluez-utils.spec	28 Oct 2007 19:49:44 -0000	1.83
@@ -1,7 +1,7 @@
 Summary: Bluetooth utilities 
 Name: bluez-utils
 Version: 3.20
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/System
 Source: http://bluez.sourceforge.net/download/%{name}-%{version}.tar.gz
@@ -108,11 +108,12 @@
 /sbin/chkconfig --add bluetooth
 /sbin/chkconfig --add dund
 /sbin/chkconfig --add pand
-if [ "$1" = "2" ]; then
+if [ "$1" -ge "1" ]; then
 	/sbin/service bluetooth 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
 if [ "$1" = "0" ]; then
@@ -153,6 +154,9 @@
 %{_libdir}/alsa-lib/*.so
 
 %changelog
+* Sun Oct 28 2007 Jeremy Katz <katzj at redhat.com> - 3.20-4
+- Follow guidelines for scriplets to quiet error (#354531)
+
 * Fri Oct 26 2007 - Bastien Nocera <bnocera at redhat.com> 3.20-3
 - Apply fixes from rawhide by Joe Orton, making sure hcid
   gets started on new installs (#351981)




More information about the fedora-extras-commits mailing list