From b5d6f4be0a917059066d3ba6391c14f740d1f19e Mon Sep 17 00:00:00 2001 From: jinzhimin369 Date: Thu, 29 Oct 2020 16:46:47 +0800 Subject: [PATCH] modify buildrequire to python3 --- icu.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/icu.spec b/icu.spec index d86bfb0..0017970 100644 --- a/icu.spec +++ b/icu.spec @@ -1,13 +1,13 @@ Name: icu Version: 67.1 -Release: 1 +Release: 2 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-67-1/icu4c-67_1-src.tgz Source1: icu-config.sh -BuildRequires: gcc gcc-c++ doxygen autoconf python2 libicu +BuildRequires: gcc gcc-c++ doxygen autoconf python3 libicu Requires: lib%{name} = %{version}-%{release} Patch1: gennorm2-man.patch @@ -31,7 +31,7 @@ header files for libicu %package_help -%{!?endian: %global endian %(%{__python} -c "import sys;print (0 if sys.byteorder=='big' else 1)")} +%{!?endian: %global endian %(%{__python3} -c "import sys;print (0 if sys.byteorder=='big' else 1)")} # " this line just fixes syntax highlighting for vim that is confused by the above and continues literal %prep @@ -127,6 +127,9 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l %changelog +* Wed Oct 21 2020 jinzhimin - 67.1-2 +- modify buildrequire to python3 + * Thu Jul 16 2020 hanhui - 67.1 - update to icu4c-67.1