From: @xuiny 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-01-09 10:11:45 +00:00 committed by Gitee
commit 7c27abe1c8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 39 additions and 1 deletions

34
Fix-typo.patch Normal file
View File

@ -0,0 +1,34 @@
From 5260d44bebbb261aa7231e0be323967655bb863d Mon Sep 17 00:00:00 2001
From: AsciiWolf <mail@asciiwolf.com>
Date: Sat, 10 Mar 2018 20:48:13 +0100
Subject: [PATCH] Fix typo
---
ppdippstr.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ppdippstr.py b/ppdippstr.py
index fdbf5818..0e5aded9 100644
--- a/ppdippstr.py
+++ b/ppdippstr.py
@@ -118,7 +118,7 @@ def init ():
"Resolution": _("Resolution"),
"Color Mode": _("Color Mode"),
- "Hight Quality Grayscale": _("Hight Quality Grayscale"),
+ "High Quality Grayscale": _("High Quality Grayscale"),
"Black Only Grayscale": _("Black Only Grayscale"),
"Quality": _("Quality"),
@@ -146,7 +146,7 @@ def init ():
"Transparency": _("Transparency"),
"Plain Paper": _("Plain Paper"),
"Plain": _("Plain"),
- "Photo Paper)": _("Photo Paper)"),
+ "Photo Paper": _("Photo Paper"),
"Transparency Film": _("Transparency Film"),
"CD or DVD Media": _("CD or DVD Media"),
"Print Density": _("Print Density"),
--
2.25.1

View File

@ -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
@ -23,6 +23,7 @@ Provides: %{name}-udev = %{version}-%{release} hal-cups-utils = 0.6.20
Patch1: Fix-constructing-the-auth-dialog.patch
Patch2: Use-ValueError-instead-of-ImportError-to-catch-excep.patch
Patch3: Fix-typo.patch
%description
%{name} is a graphical tool for CUPS administration. It
@ -84,6 +85,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle
exit 0
%changelog
* Mon Jan 09 2023 xuxinyu <xuxinyu@xfusion.com> - 1.5.11-18
- Fix typo
* Mon Jan 09 2023 xuxinyu <xuxinyu@xfusion.com> - 1.5.11-17
- Use ValueError instead of ImportError to catch exception
- when importing GIR bindings