import oscap-anaconda-addon-1.0-10.el8

This commit is contained in:
CentOS Sources 2019-11-05 15:18:58 -05:00 committed by Andrew Lukoshko
parent 593fdb986c
commit 1785b27ce6
3 changed files with 3231 additions and 2063 deletions

View File

@ -0,0 +1,25 @@
From 2f97f43a4194263e47d4747e39c22b8287a659b3 Mon Sep 17 00:00:00 2001
From: Radek Vykydal <rvykydal@redhat.com>
Date: Wed, 21 Aug 2019 15:49:21 +0200
Subject: [PATCH] Do not use capitals for spoke title.
Resolves: rhbz#1744185
To be consistent with other spokes.
---
org_fedora_oscap/gui/spokes/oscap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org_fedora_oscap/gui/spokes/oscap.py b/org_fedora_oscap/gui/spokes/oscap.py
index 96802cf..0c90fb7 100644
--- a/org_fedora_oscap/gui/spokes/oscap.py
+++ b/org_fedora_oscap/gui/spokes/oscap.py
@@ -195,7 +195,7 @@ class OSCAPSpoke(NormalSpoke):
icon = "changes-prevent-symbolic"
# title of the spoke (will be displayed on the hub)
- title = N_("_SECURITY POLICY")
+ title = N_("_Security Policy")
# methods defined by API and helper methods #
def __init__(self, data, storage, payload, instclass):

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
Name: oscap-anaconda-addon
Version: 1.0
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Anaconda addon integrating OpenSCAP to the installation process
License: GPLv2+
@ -23,6 +23,7 @@ Patch4: rootpw.patch
Patch5: bootloader.patch
Patch6: checksum.patch
Patch7: translate_spoke_title.patch
Patch8: do_not_use_capitals_for_the_spoke_title.patch
BuildArch: noarch
BuildRequires: gettext
@ -48,13 +49,16 @@ content.
%prep
%setup -q -n %{name}-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
# As Patch1 translates the upsated string "_Security Policy" added by Patch8,
# Patch1 needs to be aplied after Patch8
%patch1 -p1
%build
@ -72,6 +76,10 @@ make install DESTDIR=%{buildroot}
%doc COPYING ChangeLog README.md
%changelog
* Mon Sep 02 2019 Watson Sato <wsato@redhat.com> - 1.0-10
- Do not use capital letters for spoke title: RHBZ#1744185
- Updated translations
* Wed Feb 13 2019 Matěj Týč <matyc@redhat.com> - 1.0-9
- Updated translations: RHBZ#1645924