From 74bda9c68424ae7be1df277654226fc6fb9274c5 Mon Sep 17 00:00:00 2001 From: lyn1001 Date: Sat, 5 Sep 2020 19:09:11 +0800 Subject: [PATCH] fix build fail --- rubygem-tzinfo.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rubygem-tzinfo.spec b/rubygem-tzinfo.spec index 66c47e9..442d3a1 100644 --- a/rubygem-tzinfo.spec +++ b/rubygem-tzinfo.spec @@ -27,18 +27,18 @@ Documentation for %{name}. gem build ../%{gem_name}-%{version}.gemspec %gem_install -%if %{with bootstrap} %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ -%endif +if %{with bootstrap} %check pushd .%{gem_instdir} ruby -Ilib -e "require './test/ts_all'" ruby -Ilib -e "require './test/ts_all_zoneinfo.rb'" popd +%endif %files %dir %{gem_instdir}