backport Fix typo in debugprint call
This commit is contained in:
parent
836eeac167
commit
0dcfec39be
26
0004-Fix-typo-in-debugprint-call.patch
Normal file
26
0004-Fix-typo-in-debugprint-call.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 027ed8683a0ec30dbe705fe4d8f31c8ccb973199 Mon Sep 17 00:00:00 2001
|
||||
From: Zdenek Dohnal <zdohnal@redhat.com>
|
||||
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
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
Name: system-config-printer
|
||||
Summary: a graphical tool for CUPS administration
|
||||
Version: 1.5.11
|
||||
Release: 17
|
||||
Release: 18
|
||||
License: GPLv2+
|
||||
URL: https://github.com/zdohnal/system-config-printer
|
||||
Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz
|
||||
@ -11,6 +11,7 @@ Source0: https://github.com/zdohnal/system-config-printer/archive/%{versi
|
||||
Patch0001: 0001-Fix-constructing-the-auth-dialog.patch
|
||||
Patch0002: 0002-Require-proper-version-of-GDK-and-GTK-in-scp-dbus-se.patch
|
||||
Patch0003: 0003-Set-programe-name-for-scp-dbus-service-as-well.patch
|
||||
Patch0004: 0004-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)
|
||||
@ -86,6 +87,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle
|
||||
exit 0
|
||||
|
||||
%changelog
|
||||
* Thu Oct 26 2023 liyuanyuan <liyuanyuan@xfusion.com> - 1.5.11-18
|
||||
- Fix typo in debugprint call
|
||||
|
||||
* Thu Oct 19 2023 liyuanyuan <liyuanyuan@xfusion.com> - 1.5.11-17
|
||||
- Set programe name for scp-dbus-service as well
|
||||
- Require proper version of GDK and GTK in scp-dbus-service as well
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user