Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ruby3.1 for openSUSE:Factory checked in at 2022-12-07 17:33:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby3.1 (Old) and /work/SRC/openSUSE:Factory/.ruby3.1.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby3.1" Wed Dec 7 17:33:06 2022 rev:11 rq:1040656 version:3.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby3.1/ruby3.1.changes 2022-11-25 14:08:05.701180098 +0100 +++ /work/SRC/openSUSE:Factory/.ruby3.1.new.1835/ruby3.1.changes 2022-12-07 17:33:13.795969103 +0100 @@ -1,0 +2,11 @@ +Tue Dec 6 12:40:02 UTC 2022 - Stephan Kulow <[email protected]> + +- Add ruby-3.1.3-remove-timezone-test.patch to disable timezone + tests broken by 2022g update + +------------------------------------------------------------------- +Mon Dec 5 09:12:11 UTC 2022 - Andreas Schwab <[email protected]> + +- Update rb_arch_short macro + +------------------------------------------------------------------- New: ---- ruby-3.1.3-remove-timezone-test.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby3.1.spec ++++++ --- /var/tmp/diff_new_pack.pZ5cDY/_old 2022-12-07 17:33:14.607973550 +0100 +++ /var/tmp/diff_new_pack.pZ5cDY/_new 2022-12-07 17:33:14.611973571 +0100 @@ -48,7 +48,7 @@ # keep in sync with macro file! %global rb_ver %{api_version} %global rb_arch %(echo %{_target_cpu}-linux-gnu | sed -e "s/ppc/powerpc/") -%global rb_arch_short %(echo %{_target_cpu}-linux | sed -e "s/ppc/powerpc/ ; s/i[0-9]86/x86/") +%global rb_arch_short %(echo %{_target_cpu}-linux-gnu | sed -e "s/ppc/powerpc/ ; s/i[0-9]86/x86/") %global rb_libdir %{_libdir}/ruby/%{rb_ver}/ %global rb_archdir %{_libdir}/ruby/%{rb_ver}/%{rb_arch} %global rb_extdir %{_libdir}/ruby/gems/%{rb_ver}/extensions/ @@ -88,6 +88,7 @@ Source98: series Source99: %{rb_soname}-rpmlintrc Patch: use-pie.patch +Patch1: ruby-3.1.3-remove-timezone-test.patch BuildRequires: ruby-bundled-gems-rpmhelper %if %{with clang} BuildRequires: clang ++++++ ruby-3.1.3-remove-timezone-test.patch ++++++ commit d35008d3d5438de8e1f78c40e5c672ee9983f29a Author: Stephan Kulow <[email protected]> Date: Tue Dec 6 12:35:26 2022 +0100 Remove timezone test case relying on the exact timezone data The exact hour of the DST switch for Singapore changed between 2022f and 2022g updates of the timezone database. See https://bugs.ruby-lang.org/issues/19187 and http://mm.icann.org/pipermail/tz-announce/2022-November/000076.html diff --git a/test/ruby/test_time_tz.rb b/test/ruby/test_time_tz.rb index 6fdb95bafe..2b0ec9c8a4 100644 --- a/test/ruby/test_time_tz.rb +++ b/test/ruby/test_time_tz.rb @@ -138,15 +138,6 @@ def test_america_managua } end - def test_asia_singapore - with_tz(tz="Asia/Singapore") { - assert_time_constructor(tz, "1981-12-31 23:59:59 +0730", :local, [1981,12,31,23,59,59]) - assert_time_constructor(tz, "1982-01-01 00:30:00 +0800", :local, [1982,1,1,0,0,0]) - assert_time_constructor(tz, "1982-01-01 00:59:59 +0800", :local, [1982,1,1,0,29,59]) - assert_time_constructor(tz, "1982-01-01 00:30:00 +0800", :local, [1982,1,1,0,30,0]) - } - end - def test_asia_tokyo with_tz(tz="Asia/Tokyo") { h = CORRECT_TOKYO_DST_1951 ? 0 : 2 @@ -450,7 +441,6 @@ def self.gen_zdump_test(data) America/Managua Wed Jan 1 04:59:59 1997 UTC = Tue Dec 31 23:59:59 1996 EST isdst=0 gmtoff=-18000 America/Managua Wed Jan 1 05:00:00 1997 UTC = Tue Dec 31 23:00:00 1996 CST isdst=0 gmtoff=-21600 Asia/Singapore Sun Aug 8 16:30:00 1965 UTC = Mon Aug 9 00:00:00 1965 SGT isdst=0 gmtoff=27000 -Asia/Singapore Thu Dec 31 16:29:59 1981 UTC = Thu Dec 31 23:59:59 1981 SGT isdst=0 gmtoff=27000 Asia/Singapore Thu Dec 31 16:30:00 1981 UTC = Fri Jan 1 00:30:00 1982 SGT isdst=0 gmtoff=28800 End gen_zdump_test CORRECT_TOKYO_DST_1951 ? <<'End' + (CORRECT_TOKYO_DST_1951 < "2018f" ? <<'2018e' : <<'2018f') : <<'End'
