Upgrade to version 2.0.6
(cherry picked from commit 1d6d19cbff6c093ba4497326201c4b7f24c07505)
This commit is contained in:
parent
d94bd7c51f
commit
86cd44ff10
@ -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 <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
|
||||
- update to 2.0.4
|
||||
|
||||
@ -68,4 +83,4 @@ popd
|
||||
- fix build fail
|
||||
|
||||
* Sat Aug 8 2020 yanan li <liyanan032@huawei.com> - 1.2.5-1
|
||||
- Package init
|
||||
- Package init
|
||||
|
||||
BIN
tzinfo-2.0.4.gem
BIN
tzinfo-2.0.4.gem
Binary file not shown.
Binary file not shown.
BIN
tzinfo-2.0.6.gem
Normal file
BIN
tzinfo-2.0.6.gem
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user