mirror of
https://abf.rosa.ru/djam/icu.git
synced 2025-02-23 19:02:50 +00:00
fix TestTwoDigitYear test
This commit is contained in:
parent
23904473f8
commit
ec21b26de7
2 changed files with 14 additions and 0 deletions
12
icu-53.1-TestTwoDigitYear-fix.patch
Normal file
12
icu-53.1-TestTwoDigitYear-fix.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -urN icu.orig/source/test/intltest/dtfmttst.cpp icu/source/test/intltest/dtfmttst.cpp
|
||||
--- icu.orig/source/test/intltest/dtfmttst.cpp 2014-06-17 16:47:24.189000000 +0400
|
||||
+++ icu/source/test/intltest/dtfmttst.cpp 2014-06-17 16:48:02.083000000 +0400
|
||||
@@ -1132,7 +1132,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));
|
||||
}
|
||||
|
||||
// -------------------------------------
|
2
icu.spec
2
icu.spec
|
@ -23,6 +23,7 @@ Url: http://www.icu-project.org/index.html
|
|||
Source0: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-src.tgz
|
||||
Source1: http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip
|
||||
Patch0: %{name}4c-49.1-setBreakType.patch
|
||||
Patch1: icu-53.1-TestTwoDigitYear-fix.patch
|
||||
BuildRequires: doxygen
|
||||
|
||||
%description
|
||||
|
@ -136,6 +137,7 @@ Development files and headers for the International Components for Unicode.
|
|||
%prep
|
||||
%setup -qn %{name}
|
||||
%patch0 -p1 -b .setBreakType
|
||||
%patch1 -p1 -b .testfix
|
||||
|
||||
mkdir -p docs
|
||||
cd docs
|
||||
|
|
Loading…
Add table
Reference in a new issue