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}