update to 72.1

This commit is contained in:
zhouwenpei 2022-11-05 03:46:33 +00:00
parent 59237b89da
commit 38e26ad2fd
2 changed files with 10 additions and 4 deletions

View File

@ -1,13 +1,13 @@
Name: icu
Version: 69.1
Release: 2
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
@ -75,6 +75,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
@ -96,6 +98,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
@ -125,6 +128,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
%changelog
* Sat Nov 05 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 72.1-1
- update to icu4c-72.1
* Thu Jul 16 2020 hanhui <hanhui15@h-partners.com> - 69.1-2
- delete libicu*.so.67*