From d3ca8545b48a768001a8388e2ef444e9a0fd6fd1 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 25 Oct 2013 16:29:47 +0100 Subject: [PATCH] Fixed typo in D-Bus signature decorator (bug #1023449). Resolves: rhbz#1023449 --- system-config-printer-decorator.patch | 12 ++++++++++++ system-config-printer.spec | 9 ++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 system-config-printer-decorator.patch diff --git a/system-config-printer-decorator.patch b/system-config-printer-decorator.patch new file mode 100644 index 0000000..74e3dbf --- /dev/null +++ b/system-config-printer-decorator.patch @@ -0,0 +1,12 @@ +diff -up system-config-printer-1.4.3/scp-dbus-service.py.decorator system-config-printer-1.4.3/scp-dbus-service.py +--- system-config-printer-1.4.3/scp-dbus-service.py.decorator 2013-09-17 12:21:06.000000000 +0100 ++++ system-config-printer-1.4.3/scp-dbus-service.py 2013-10-25 16:28:33.498935837 +0100 +@@ -367,7 +367,7 @@ class ConfigPrintingNewPrinterDialog(dbu + pass + + @dbus.service.signal(dbus_interface=CONFIG_NEWPRINTERDIALOG_IFACE, +- signature='a{s}') ++ signature='a(s)') + def DriverDownloadChecked(self, installed_files): + pass + diff --git a/system-config-printer.spec b/system-config-printer.spec index 4769bd2..431f523 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -1,12 +1,13 @@ Summary: A printer administration tool Name: system-config-printer Version: 1.4.3 -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.4/%{name}-%{version}.tar.xz Patch1: system-config-printer-no-applet-in-gnome.patch +Patch2: system-config-printer-decorator.patch BuildRequires: cups-devel >= 1.2 BuildRequires: desktop-file-utils >= 0.2.92 @@ -68,6 +69,9 @@ printers. # Don't start the applet in GNOME. %patch1 -p1 -b .no-applet-in-gnome +# Fixed typo in D-Bus signature decorator (bug #1023449). +%patch2 -p1 -b .decorator + %build %configure --with-udev-rules @@ -167,6 +171,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris exit 0 %changelog +* Fri Oct 25 2013 Tim Waugh 1.4.3-2 +- Fixed typo in D-Bus signature decorator (bug #1023449). + * Tue Oct 22 2013 Tim Waugh 1.4.3-1 - 1.4.3.