Fix a forbidden code point, 0x202E

Backport cldr-release-46-alpha2 to resolve rpminspect.static-analysis

Resolves: RHEL-56890
This commit is contained in:
Takao Fujiwara 2024-09-16 23:46:59 +09:00
parent 2fd0a9f3f6
commit 668c0dff36
2 changed files with 46 additions and 2 deletions

View File

@ -0,0 +1,42 @@
From 71b43c994147390e76fa3b1fa7af2f3aa7afa2d2 Mon Sep 17 00:00:00 2001
From: Takao Fujiwara <tfujiwar@redhat.com>
Date: Mon, 16 Sep 2024 23:00:32 +0900
Subject: [PATCH] Fix a forbidden code point, 0x202E
Backport cldr-release-46-alpha2 to resolve rpminspect.static-analysis
---
common/annotationsDerived/ff_Adlm.xml | 4 ++--
.../org/unicode/cldr/util/data/external/langtags.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/annotationsDerived/ff_Adlm.xml b/common/annotationsDerived/ff_Adlm.xml
index 5b4070c..f955143 100644
--- a/common/annotationsDerived/ff_Adlm.xml
+++ b/common/annotationsDerived/ff_Adlm.xml
@@ -90,8 +90,8 @@ Derived short names and annotations, using GenerateDerivedAnnotations.java. See
<annotation cp="🇧🇹" type="tts">𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤄𞤵𞥅𞤼𞤢𞥄𞤲</annotation>
<annotation cp="🇧🇻">𞤼𞤵𞤼𞤢𞤱𞤢𞤤 | 𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤅𞤵𞤪𞤭𞥅𞤪𞤫 𞤄𞤵𞥅𞤾𞤫𞥅</annotation>
<annotation cp="🇧🇻" type="tts">𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤅𞤵𞤪𞤭𞥅𞤪𞤫 𞤄𞤵𞥅𞤾𞤫𞥅</annotation>
- <annotation cp="🇧🇼">𞤼𞤵𞤼𞤢𞤱𞤢𞤤 | 𞤼𞤵𞤼𞤢𞤱𞤢𞤤: ‮𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</annotation>
- <annotation cp="🇧🇼" type="tts">𞤼𞤵𞤼𞤢𞤱𞤢𞤤: ‮𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</annotation>
+ <annotation cp="🇧🇼">𞤼𞤵𞤼𞤢𞤱𞤢𞤤</annotation>
+ <annotation cp="🇧🇼" type="tts">𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤄𞤮𞤼𞤧𞤵𞤱𞤢𞥄𞤲𞤢</annotation>
<annotation cp="🇧🇾">𞤼𞤵𞤼𞤢𞤱𞤢𞤤 | 𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤄𞤫𞤤𞤢𞤪𞤵𞥅𞤧</annotation>
<annotation cp="🇧🇾" type="tts">𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤄𞤫𞤤𞤢𞤪𞤵𞥅𞤧</annotation>
<annotation cp="🇧🇿">𞤼𞤵𞤼𞤢𞤱𞤢𞤤 | 𞤼𞤵𞤼𞤢𞤱𞤢𞤤: 𞤄𞤫𞤤𞤭𞥅𞥁</annotation>
diff --git a/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/langtags.json b/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/langtags.json
index bef998d..b915bbf 100644
--- a/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/langtags.json
+++ b/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/langtags.json
@@ -46125,7 +46125,7 @@
"iana": [ "Northern Hindko" ],
"iso639_3": "hno",
"latnnames": [ "Hindko" ],
- "localname": "ہندکو‬",
+ "localname": "ہندکو",
"localnames": [ "ہندکو" ],
"name": "Hindko, Northern",
"names": [ "Hazara Hindko", "Hindko", "Kagani", "Kaghani", "Northern Hindko" ],
--
2.46.0

View File

@ -19,6 +19,8 @@ Source0: https://github.com/unicode-org/cldr/releases/download/%{tag_version}
Source0: https://github.com/unicode-org/cldr/archive/refs/tags/%{tag_version}.zip#/cldr-%{tag_version}.zip Source0: https://github.com/unicode-org/cldr/archive/refs/tags/%{tag_version}.zip#/cldr-%{tag_version}.zip
%endif %endif
#Patch0: %%{name}-HEAD.patch #Patch0: %%{name}-HEAD.patch
# Fix osci.brew-build.rpminspect.static-analysis in 45-5.el10
Patch1: %{name}-rhel56890-forbidden-0x202e.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildArch: noarch BuildArch: noarch
@ -49,9 +51,9 @@ when building programs that use cldr-emoji-annotations.
%prep %prep
%if %is_official %if %is_official
%autosetup -c -n cldr-%{tag_version} %autosetup -c -n cldr-%{tag_version} -p1
%else %else
%autosetup -n cldr-%{tag_version} %autosetup -n cldr-%{tag_version} -p1
%endif %endif