diff --git a/0002-Fix-typo-in-debugprint-call.patch b/0002-Fix-typo-in-debugprint-call.patch new file mode 100644 index 0000000000000000000000000000000000000000..1b4b34d08cf01e16ff1afba1c6c25b2305f090f2 --- /dev/null +++ b/0002-Fix-typo-in-debugprint-call.patch @@ -0,0 +1,26 @@ +From 027ed8683a0ec30dbe705fe4d8f31c8ccb973199 Mon Sep 17 00:00:00 2001 +From: Zdenek Dohnal +Date: Thu, 30 Aug 2018 12:05:53 +0200 +Subject: [PATCH] Fix typo in debugprint call + (https://github.com/zdohnal/system-config-printer/issues/105) + +--- + newprinter.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/newprinter.py b/newprinter.py +index 850c986b..051fc253 100644 +--- a/newprinter.py ++++ b/newprinter.py +@@ -1049,7 +1049,7 @@ class NewPrinterGUI(GtkGUI): + debugprint('No packages for driver') + return None + if len(arches) > 1: +- debugprint('Returned more than one matching architecture, please report this as a bug: %s', repr (arches)) ++ debugprint('Returned more than one matching architecture, please report this as a bug: %s' % repr (arches)) + return None + + pkgs = pkgs[arches[0]] +-- +2.33.0 + diff --git a/system-config-printer.spec b/system-config-printer.spec index b16b82adc69a034ec4355af569a440846428a343..edb521dce1b29ea57da95c874b4b890b149d7e45 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -3,12 +3,13 @@ Name: system-config-printer Summary: a graphical tool for CUPS administration Version: 1.5.11 -Release: 16 +Release: 17 License: GPLv2+ URL: https://github.com/zdohnal/system-config-printer Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz Patch0001: 0001-Fix-constructing-the-auth-dialog.patch +Patch0002: 0002-Fix-typo-in-debugprint-call.patch BuildRequires: libusb1-devel gcc gettext-devel systemd xmlto systemd-devel python3-devel BuildRequires: intltool cups-devel >= 1.2 desktop-file-utils >= 0.2.92 pkgconfig(glib-2.0) @@ -84,6 +85,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle exit 0 %changelog +* Thu Dec 28 2023 liyuanyuan - 1.5.11-17 +- Fix typo in debugprint call + * Fri Dec 22 2023 liyuanyuan - 1.5.11-16 - Fix constructing the auth dialog