diff --git a/icu-testtwodigityear.patch b/icu-testtwodigityear.patch new file mode 100644 index 0000000..6d22097 --- /dev/null +++ b/icu-testtwodigityear.patch @@ -0,0 +1,13 @@ +In the year 2034 ... +http://sourceforge.net/p/icu/mailman/message/32443311/ +--- icu.orig/source/test/intltest/dtfmttst.cpp 2013-10-04 22:48:00.000000000 +0200 ++++ icu/source/test/intltest/dtfmttst.cpp 2014-06-13 19:34:40.611299572 +0200 +@@ -1129,7 +1129,7 @@ + return; + } + parse2DigitYear(fmt, "5/6/17", date(117, UCAL_JUNE, 5)); +- parse2DigitYear(fmt, "4/6/34", date(34, UCAL_JUNE, 4)); ++ parse2DigitYear(fmt, "4/6/34", date(134, UCAL_JUNE, 4)); + } + + // ------------------------------------- diff --git a/icu.spec b/icu.spec index bb20ae3..d78805e 100644 --- a/icu.spec +++ b/icu.spec @@ -1,6 +1,6 @@ Name: icu Version: 52.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: International Components for Unicode Group: Development/Tools License: MIT and UCD and Public Domain @@ -16,6 +16,7 @@ Patch3: icu.7601.Indic-ccmp.patch Patch4: icu.9948.mlym-crash.patch Patch5: gennorm2-man.patch Patch6: icuinfo-man.patch +Patch7: icu-testtwodigityear.patch %description Tools and utilities for developing with icu. @@ -64,6 +65,7 @@ BuildArch: noarch %patch4 -p1 -b .icu9948.mlym-crash.patch %patch5 -p1 -b .gennorm2-man.patch %patch6 -p1 -b .icuinfo-man.patch +%patch7 -p1 -b .icu-testtwodigityear.patch %build cd source @@ -172,6 +174,9 @@ make %{?_smp_mflags} -C source check %doc source/__docs/%{name}/html/* %changelog +* Fri Jun 13 2014 Eike Rathke - 52.1-3 +- Resolves: rhbz#1106793 bad 2-digit year test case + * Sat Jun 07 2014 Fedora Release Engineering - 52.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild