diff --git a/backport-remove-TestJitterbug6175.patch b/backport-remove-TestJitterbug6175.patch index 488f456..8e14442 100644 --- a/backport-remove-TestJitterbug6175.patch +++ b/backport-remove-TestJitterbug6175.patch @@ -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); - } diff --git a/icu.spec b/icu.spec index 42b06eb..91feada 100644 --- a/icu.spec +++ b/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 - 72.1-1 +- update to icu4c-72.1 + * Sat Jun 25 2020 hanhui - 69.1-3 - fix build failed diff --git a/icu4c-69_1-src.tgz b/icu4c-72_1-src.tgz similarity index 69% rename from icu4c-69_1-src.tgz rename to icu4c-72_1-src.tgz index ca4aa35..60190df 100644 Binary files a/icu4c-69_1-src.tgz and b/icu4c-72_1-src.tgz differ