update to icu4c-72.1
This commit is contained in:
parent
6d4448ffad
commit
0d0a92d244
@ -98,7 +98,7 @@ index 73e0fde..1f96ded 100644
|
||||
- const UChar * toUCharsLimit = toUCharsPtr + kEmptySegmentToUCharsMax;
|
||||
- const char * inCharsPtr = testPtr->inputText;
|
||||
- const char * inCharsLimit = inCharsPtr + testPtr->inputTextLength;
|
||||
- ucnv_toUnicode(cnv, &toUCharsPtr, toUCharsLimit, &inCharsPtr, inCharsLimit, NULL, TRUE, &err);
|
||||
- ucnv_toUnicode(cnv, &toUCharsPtr, toUCharsLimit, &inCharsPtr, inCharsLimit, NULL, true, &err);
|
||||
- }
|
||||
- ucnv_close(cnv);
|
||||
- }
|
||||
|
||||
14
icu.spec
14
icu.spec
@ -1,13 +1,13 @@
|
||||
Name: icu
|
||||
Version: 69.1
|
||||
Release: 3
|
||||
Version: 72.1
|
||||
Release: 1
|
||||
Summary: International Components for Unicode
|
||||
License: MIT and UCD and Public Domain
|
||||
URL: http://site.icu-project.org/
|
||||
Source0: https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-src.tgz
|
||||
Source0: https://github.com/unicode-org/icu/releases/download/release-72-1/icu4c-72_1-src.tgz
|
||||
Source1: icu-config.sh
|
||||
|
||||
BuildRequires: gcc gcc-c++ doxygen autoconf python3
|
||||
BuildRequires: gcc gcc-c++ doxygen autoconf python3 libicu
|
||||
Requires: lib%{name} = %{version}-%{release}
|
||||
|
||||
Patch1: gennorm2-man.patch
|
||||
@ -76,6 +76,8 @@ chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
||||
)
|
||||
install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/icu-config
|
||||
|
||||
cp -a %{_libdir}/libicu*.so.69* %{buildroot}%{_libdir}
|
||||
|
||||
%check
|
||||
if grep -q @VERSION@ source/tools/*/*.8 source/tools/*/*.1 source/config/*.1; then
|
||||
exit 1
|
||||
@ -97,6 +99,7 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
|
||||
%{_bindir}/makeconv
|
||||
%{_bindir}/pkgdata
|
||||
%{_bindir}/uconv
|
||||
%{_bindir}/icuexportdata
|
||||
%{_sbindir}/*
|
||||
|
||||
%files -n libicu
|
||||
@ -126,6 +129,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 15 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 72.1-1
|
||||
- update to icu4c-72.1
|
||||
|
||||
* Sat Jun 25 2020 hanhui <hanhui15@h-partners.com> - 69.1-3
|
||||
- fix build failed
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user