From f0dd0b3c7e3e120fe54aff5f1879c5aa76fb70ff Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 23 Oct 2012 15:00:02 +0100 Subject: [PATCH] Fixed systemd config file (bug #862186). Resolves: rhbz#862186 --- system-config-printer-systemd.patch | 9 +++++++++ system-config-printer.spec | 9 ++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 system-config-printer-systemd.patch diff --git a/system-config-printer-systemd.patch b/system-config-printer-systemd.patch new file mode 100644 index 0000000..5c2d8d6 --- /dev/null +++ b/system-config-printer-systemd.patch @@ -0,0 +1,9 @@ +diff -up system-config-printer-1.3.12/udev/configure-printer@.service.in.systemd system-config-printer-1.3.12/udev/configure-printer@.service.in +--- system-config-printer-1.3.12/udev/configure-printer@.service.in.systemd 2012-10-05 14:52:58.000000000 +0100 ++++ system-config-printer-1.3.12/udev/configure-printer@.service.in 2012-10-23 14:57:34.297309852 +0100 +@@ -4,4 +4,4 @@ Requires=cups.socket + After=cups.socket + + [Service] +-ExecStart=@udevhelperdir@/configure-printer add "%i" ++ExecStart=@udevhelperdir@/udev-configure-printer add "%i" diff --git a/system-config-printer.spec b/system-config-printer.spec index 3aef035..ca9b33a 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -1,13 +1,14 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.3.12 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://cyberelk.net/tim/software/system-config-printer/ Group: System Environment/Base Source0: http://cyberelk.net/tim/data/system-config-printer/1.3/%{name}-%{version}.tar.xz Patch1: system-config-printer-no-applet-in-gnome.patch Patch2: system-config-printer-FirewallD.patch +Patch3: system-config-printer-systemd.patch BuildRequires: cups-devel >= 1.2 BuildRequires: desktop-file-utils >= 0.2.92 @@ -68,6 +69,9 @@ printers. # FirewallD support %patch2 -p1 -b .FirewallD +# Fixed systemd config file (bug #862186). +%patch3 -p1 -b .systemd + %build %configure --with-udev-rules @@ -167,6 +171,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog +* Tue Oct 23 2012 Tim Waugh 1.3.12-2 +- Fixed systemd config file (bug #862186). + * Fri Oct 5 2012 Tim Waugh 1.3.12-1 - 1.3.12.