!2 Fix build fail

Merge pull request !2 from lyn/master
This commit is contained in:
openeuler-ci-bot 2020-09-07 12:06:15 +08:00 committed by Gitee
commit 6655f3a1cc

View File

@ -1,7 +1,8 @@
%bcond_with bootstrap
%global gem_name tzinfo %global gem_name tzinfo
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 1.2.5 Version: 1.2.5
Release: 1 Release: 2
Summary: Daylight savings aware timezone library Summary: Daylight savings aware timezone library
License: MIT License: MIT
URL: http://tzinfo.github.io URL: http://tzinfo.github.io
@ -31,11 +32,13 @@ mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/ %{buildroot}%{gem_dir}/
%if %{with bootstrap}
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
ruby -Ilib -e "require './test/ts_all'" ruby -Ilib -e "require './test/ts_all'"
ruby -Ilib -e "require './test/ts_all_zoneinfo.rb'" ruby -Ilib -e "require './test/ts_all_zoneinfo.rb'"
popd popd
%endif
%files %files
%dir %{gem_instdir} %dir %{gem_instdir}
@ -54,5 +57,8 @@ popd
%{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/%{gem_name}.gemspec
%changelog %changelog
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 1.2.5-2
- fix build fail
* Sat Aug 8 2020 yanan li <liyanan032@huawei.com> - 1.2.5-1 * Sat Aug 8 2020 yanan li <liyanan032@huawei.com> - 1.2.5-1
- Package init - Package init