rpms/hplip/devel hplip.spec,1.149,1.150

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Fri Jul 20 14:47:46 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/hplip/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21366

Modified Files:
	hplip.spec 
Log Message:
* Fri Jul 20 2007 Tim Waugh <twaugh at redhat.com>
- Remove hplip service on upgrade.



Index: hplip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hplip/devel/hplip.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- hplip.spec	20 Jul 2007 13:29:05 -0000	1.149
+++ hplip.spec	20 Jul 2007 14:47:14 -0000	1.150
@@ -27,7 +27,7 @@
 Patch13: hplip-ui-optional.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
 
-Requires(post): /sbin/service
+Requires(pre): /sbin/service
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service
 Requires(preun): /sbin/chkconfig
@@ -254,6 +254,7 @@
 
 %pre
 # No daemons any more.
+/sbin/chkconfig --del hplip 2>/dev/null || true
 if [ -x /etc/init.d/hplip ]; then
   /sbin/service hplip stop
 fi
@@ -273,6 +274,9 @@
 exit 0
 
 %changelog
+* Fri Jul 20 2007 Tim Waugh <twaugh at redhat.com>
+- Remove hplip service on upgrade.
+
 * Fri Jul 20 2007 Tim Waugh <twaugh at redhat.com> 2.7.6-9
 - Updated selinux-policy conflict for bug #249014.
 - Fixed the udev rules file (bug #248740, bug #249025).




More information about the fedora-extras-commits mailing list