From d44ca3247c00727ecfc986027d847fe77c15250d Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Oct 31 2011 10:54:25 +0000 Subject: Set correct systemd service default on upgrade (bug #748841). --- diff --git a/cups.spec b/cups.spec index 84f899b..949bdfd 100644 --- a/cups.spec +++ b/cups.spec @@ -13,7 +13,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.5.0 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2 Group: System Environment/Daemons Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2 @@ -486,6 +486,9 @@ exit 0 # to migrate them to systemd targets %{_bindir}/systemd-sysv-convert --save %{name} >/dev/null 2>&1 || : +# This package is allowed to autostart: +/bin/systemctl --no-reload enable %{name}.{service,socket,path} || : + # Run these because the SysV package being removed won't do them /sbin/chkconfig --del cups >/dev/null 2>&1 || : /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : @@ -646,6 +649,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/ipptool.1.gz %changelog +* Mon Oct 31 2011 Tim Waugh 1:1.5.0-19 +- Set correct systemd service default on upgrade (bug #748841). + * Wed Oct 19 2011 Tim Waugh 1:1.5.0-18 - Make sure to guard against retrying the Avahi connection whilst already doing so (Ubuntu #877967).