Resolves: rhbz#1106793 bad 2-digit year test case
Time warped to year 2034 ... http://sourceforge.net/p/icu/mailman/message/32443311/
This commit is contained in:
parent
8cec75bfb0
commit
3320ff38f2
13
icu-testtwodigityear.patch
Normal file
13
icu-testtwodigityear.patch
Normal file
@ -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));
|
||||
}
|
||||
|
||||
// -------------------------------------
|
7
icu.spec
7
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 <erack@redhat.com> - 52.1-3
|
||||
- Resolves: rhbz#1106793 bad 2-digit year test case
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 52.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user