!11 [sync] PR-10: Upgrade to version 2.0.6

From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2023-08-10 02:37:10 +00:00 committed by Gitee
commit 51d0580bff
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
%global gem_name tzinfo %global gem_name tzinfo
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.0.4 Version: 2.0.6
Release: 1 Release: 1
Summary: Daylight savings aware timezone library Summary: Daylight savings aware timezone library
License: MIT License: MIT
@ -41,7 +41,19 @@ ln -s %{_builddir}/test .
sed -i "/raise 'Tests must be run with bundler/ s/^/#/" \ sed -i "/raise 'Tests must be run with bundler/ s/^/#/" \
test/test_utils.rb 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 popd
%files %files
@ -58,6 +70,9 @@ popd
%doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.md
%changelog %changelog
* Thu Aug 10 2023 wubijie <wubijie@kylinos.cn> - 2.0.6-1
- Upgrade to version 2.0.6
* Wed Mar 2 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.0.4-1 * Wed Mar 2 2022 liqiuyu <liqiuyu@kylinos.cn> - 2.0.4-1
- update to 2.0.4 - update to 2.0.4

Binary file not shown.

BIN
tzinfo-2.0.6.gem Normal file

Binary file not shown.