#7 Add apostrophes to fix RHBZ#1545075
Closed a year ago by sobek. Opened a year ago by sobek.
https://pagure.io/dnf.git master  into  master

Add apostrophes to fix RHBZ#1545075
RenĂ© Genz • a year ago  
0001-Add-apostrophes-to-fix-RHBZ-1545075.patch
file added
+25

@@ -0,0 +1,25 @@

+ From b59a4b78435f34f609ac4a697c40deff843981ff Mon Sep 17 00:00:00 2001

+ From: =?UTF-8?q?Ren=C3=A9=20Genz?= <liebundartig@freenet.de>

+ Date: Sat, 24 Mar 2018 15:35:12 +0100

+ Subject: [PATCH] Add apostrophes to fix RHBZ#1545075

+ 

+ ---

+  dnf/cli/commands/updateinfo.py | 2 +-

+  1 file changed, 1 insertion(+), 1 deletion(-)

+ 

+ diff --git a/dnf/cli/commands/updateinfo.py b/dnf/cli/commands/updateinfo.py

+ index b74428e..db1c8e7 100644

+ --- a/dnf/cli/commands/updateinfo.py

+ +++ b/dnf/cli/commands/updateinfo.py

+ @@ -53,7 +53,7 @@ class UpdateInfoCommand(commands.Command):

+                        'Important': _('Important/Sec.'),

+                        'Moderate': _('Moderate/Sec.'),

+                        'Low': _('Low/Sec.'),

+ -                      None: _('Unknown/Sec.')}

+ +                      'None': _('Unknown/Sec.')}

+  

+      direct_commands = {'list-updateinfo'    : 'list',

+                         'list-security'      : 'list',

+ -- 

+ 2.16.2

+ 

dnf.spec
file modified
+5 -1

@@ -28,7 +28,7 @@

  

  Name:           dnf

  Version:        2.7.5

- Release:        8%{?dist}

+ Release:        9%{?dist}

  Summary:        Package manager forked from Yum, using libsolv as a dependency resolver

  # For a breakdown of the licensing, see PACKAGE-LICENSING

  License:        GPLv2+ and GPLv2 and GPL

@@ -37,6 +37,7 @@

  Patch0:         0001-Allow-to-set-cacheonly-from-commands-and-conf-RhBug-.patch

  Patch1:         0002-Remove-redundant-conf-option-cacheonly.patch

  Patch2:         0003-Remove-unnecessary-code-for-set-cacheonly.patch

+ Patch3:         0001-Add-apostrophes-to-fix-RHBZ-1545075.patch

  BuildArch:      noarch

  BuildRequires:  cmake

  BuildRequires:  gettext

@@ -385,6 +386,9 @@

  %endif

  

  %changelog

+ * Sat Mar 24 2018 René Genz <liebundartig@freenet.de> - 2.7.5-9

+ - Add apostrophes to fix RHBZ#1545075

+ 

  * Mon Feb 12 2018 Daniel Mach <dmach@redhat.com> - 2.7.5-8

  - Rebase to dnf from dnf-2-modularity branch.

  

no initial comment

A different fix for the problem has been merged upstream:
https://github.com/rpm-software-management/dnf/pull/1028/files
but there is no new release, yet. So this patch would stay only temporary.

We're going to make a new release with this fix cherry-picked.
Definitely thanks for bringing this PR!

My pleasure. :)
A new upstream dnf release is even better. I will close this PR.

Pull-Request has been closed by sobek

a year ago