diff --git a/rubygem-gem2rpm.spec b/rubygem-gem2rpm.spec index 89587a1..cc972ce 100644 --- a/rubygem-gem2rpm.spec +++ b/rubygem-gem2rpm.spec @@ -54,6 +54,9 @@ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x pushd .%{gem_instdir} tar xzvf %{SOURCE1} +# Disable this test, since it needs online access (see the comment on line 22). +sed -i "/test_find_download_url_for_source_address/,/ end/ s/^/#/" test/test_gem2rpm.rb + ruby -Itest -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' popd