From a6ae230f2e1051304f3d1435e92f9b3bedd241c1 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 20 Jul 2007 14:47:14 +0000 Subject: [PATCH] - Remove hplip service on upgrade. --- hplip.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 8cf18db..50d77d4 100644 --- a/hplip.spec +++ b/hplip.spec @@ -27,7 +27,7 @@ Patch12: hplip-no-root-config.patch 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 @@ rm -rf %{buildroot} %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 @@ fi exit 0 %changelog +* Fri Jul 20 2007 Tim Waugh +- Remove hplip service on upgrade. + * Fri Jul 20 2007 Tim Waugh 2.7.6-9 - Updated selinux-policy conflict for bug #249014. - Fixed the udev rules file (bug #248740, bug #249025).