From bdf02a571a07e8b0320e77d360c003f3c3a3f2c0 Mon Sep 17 00:00:00 2001 From: René Genz Date: Mar 24 2018 14:43:51 +0000 Subject: Add apostrophes to fix RHBZ#1545075 --- diff --git a/0001-Add-apostrophes-to-fix-RHBZ-1545075.patch b/0001-Add-apostrophes-to-fix-RHBZ-1545075.patch new file mode 100644 index 0000000..b3ffac8 --- /dev/null +++ b/0001-Add-apostrophes-to-fix-RHBZ-1545075.patch @@ -0,0 +1,25 @@ +From b59a4b78435f34f609ac4a697c40deff843981ff Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ren=C3=A9=20Genz?= +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 + diff --git a/dnf.spec b/dnf.spec index 9c13c6e..40d66d5 100644 --- a/dnf.spec +++ b/dnf.spec @@ -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 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}-modularity.tar.gz 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 @@ popd %endif %changelog +* Sat Mar 24 2018 René Genz - 2.7.5-9 +- Add apostrophes to fix RHBZ#1545075 + * Mon Feb 12 2018 Daniel Mach - 2.7.5-8 - Rebase to dnf from dnf-2-modularity branch.