diff --git a/rubygem-tzinfo.spec b/rubygem-tzinfo.spec index e6eaa743e285eafe3dc39ca33fa6306ba5fb0d65..13b257f246836c69c50c84fcda74a898e0edddef 100644 --- a/rubygem-tzinfo.spec +++ b/rubygem-tzinfo.spec @@ -1,6 +1,6 @@ %global gem_name tzinfo Name: rubygem-%{gem_name} -Version: 2.0.4 +Version: 2.0.6 Release: 1 Summary: Daylight savings aware timezone library License: MIT @@ -41,7 +41,19 @@ ln -s %{_builddir}/test . sed -i "/raise 'Tests must be run with bundler/ s/^/#/" \ test/test_utils.rb -RUBYOPT="-I.:lib:test" ruby -rtest/ts_all +export RUBYOPT="-Ilib" + +ruby test/ts_all_ruby_format1.rb +ruby test/ts_all_ruby_format2.rb +ruby test/ts_all_zoneinfo.rb + +# Test with system tzdata. +sed -i '/zoneinfo_path/ s|= .*|= "%{_datadir}/zoneinfo"|' test/ts_all_zoneinfo.rb + +# The test is designed to run with internal zoneinfo fixtures, therefore there +# might be test failures. +# https://github.com/tzinfo/tzinfo/issues/141 +ruby test/ts_all_zoneinfo.rb || : popd %files @@ -58,6 +70,9 @@ popd %doc %{gem_instdir}/README.md %changelog +* Thu Aug 10 2023 wubijie - 2.0.6-1 +- Upgrade to version 2.0.6 + * Wed Mar 2 2022 liqiuyu - 2.0.4-1 - update to 2.0.4 @@ -68,4 +83,4 @@ popd - fix build fail * Sat Aug 8 2020 yanan li - 1.2.5-1 -- Package init \ No newline at end of file +- Package init diff --git a/tzinfo-2.0.4.gem b/tzinfo-2.0.4.gem deleted file mode 100644 index a3f982055a81b126b129df0b40282cf5b36c3320..0000000000000000000000000000000000000000 Binary files a/tzinfo-2.0.4.gem and /dev/null differ diff --git a/tzinfo-2.0.4-tests.txz b/tzinfo-2.0.6-tests.txz similarity index 96% rename from tzinfo-2.0.4-tests.txz rename to tzinfo-2.0.6-tests.txz index fa257bb2f10b1345ad680b82c440d77daa76c832..30dc523cdb2adacaf0c84939cf236427feabe78c 100644 Binary files a/tzinfo-2.0.4-tests.txz and b/tzinfo-2.0.6-tests.txz differ diff --git a/tzinfo-2.0.6.gem b/tzinfo-2.0.6.gem new file mode 100644 index 0000000000000000000000000000000000000000..2c16da8abdf159eb96c6c48b7bb495d4ea1c2488 Binary files /dev/null and b/tzinfo-2.0.6.gem differ