Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package icu for openSUSE:Factory checked in at 2023-09-20 15:12:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icu (Old) and /work/SRC/openSUSE:Factory/.icu.new.16627 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icu" Wed Sep 20 15:12:12 2023 rev:91 rq:1112349 version:73.2 Changes: -------- --- /work/SRC/openSUSE:Factory/icu/icu.changes 2023-08-14 22:35:33.124336914 +0200 +++ /work/SRC/openSUSE:Factory/.icu.new.16627/icu.changes 2023-09-20 15:12:13.275843298 +0200 @@ -1,0 +2,6 @@ +Tue Sep 19 05:46:14 UTC 2023 - Andreas Stieger <andreas.stie...@gmx.de> + +- Fix broken TestHebrewCalendarInTemporalLeapYear [boo#1215425] + icu4c-73_c-ICU-22512-Fix-broken-TestHebrewCalendarInTemporalLeapYear.patch + +------------------------------------------------------------------- New: ---- icu4c-73_c-ICU-22512-Fix-broken-TestHebrewCalendarInTemporalLeapYear.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu.spec ++++++ --- /var/tmp/diff_new_pack.2IKrdK/_old 2023-09-20 15:12:16.087944050 +0200 +++ /var/tmp/diff_new_pack.2IKrdK/_new 2023-09-20 15:12:16.087944050 +0200 @@ -43,6 +43,7 @@ Patch7: icu-avoid-x87-excess-precision.diff Patch8: locale.diff Patch9: nan-undefined-conversion.patch +Patch10: icu4c-73_c-ICU-22512-Fix-broken-TestHebrewCalendarInTemporalLeapYear.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkg-config ++++++ icu4c-73_c-ICU-22512-Fix-broken-TestHebrewCalendarInTemporalLeapYear.patch ++++++ >From b6b3e89231a623441940889b5badd90f74bdce2b Mon Sep 17 00:00:00 2001 From: Frank Tang <ft...@chromium.org> Date: Mon, 18 Sep 2023 20:20:42 -0700 Subject: [PATCH] ICU-22512 Fix broken TestHebrewCalendarInTemporalLeapYear Fix broken test mistakenly landed in https://github.com/unicode-org/icu/pull/2274 Some important steps were missed in the last landing. --- icu4c/source/test/intltest/caltest.cpp | 2 ++ 1 file changed, 2 insertions(+) Index: icu/source/test/intltest/caltest.cpp =================================================================== --- icu.orig/source/test/intltest/caltest.cpp +++ icu/source/test/intltest/caltest.cpp @@ -3998,6 +3998,7 @@ void CalendarTest::TestHebrewCalendarInT for (gc.set(startYear, UCAL_JANUARY, 1); gc.get(UCAL_YEAR, status) <= stopYear; gc.add(UCAL_DATE, incrementDays, status)) { + cal->setTime(gc.getTime(status), status); if (failure(status, "add/get/set/getTime/setTime incorrect")) return; int32_t cal_year = cal->get(UCAL_EXTENDED_YEAR, status); @@ -4006,6 +4007,7 @@ void CalendarTest::TestHebrewCalendarInT leapTest->set(UCAL_MONTH, 0); leapTest->set(UCAL_DATE, 1); // If 10 months after TISHRI is TAMUZ, then it is a leap year. + leapTest->add(UCAL_MONTH, 10, status); hasLeapMonth = leapTest->get(UCAL_MONTH, status) == icu::HebrewCalendar::TAMUZ; yearForHasLeapMonth = cal_year; }