diff --git a/rubygem-thin.spec b/rubygem-thin.spec index d1572cc..fb81da2 100644 --- a/rubygem-thin.spec +++ b/rubygem-thin.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 1.7.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A thin and fast web server # lib/thin/stats.html.erb: BSD # spec/rails_app/public/javascripts/*.js: MIT @@ -79,11 +79,17 @@ find spec/perf -name "*_spec.rb" -exec \ # The 'should force kill process in pid file' spec is not compatible with RSpec2. # https://github.com/rspec/rspec-core/issues/520 -sed -i -r "/'should (force )?kill process in pid file'/a \ pending" spec/daemonizing_spec.rb +sed -i -r "/'should (force )?kill process in pid file'/a \ pending" \ + spec/daemonizing_spec.rb + +# To prevent timeout error on ppc64 arch. +sed -i '/^ def server_should_start_in_less_then/,/^ end/ s/(10)/(20)/' \ + spec/daemonizing_spec.rb # These 2 tests are passing independently, but fails when running with the # whole testsuite. -sed -i '/"tracing routines (with NO custom logger)"/a \ before { pending }' spec/logging_spec.rb +sed -i '/"tracing routines (with NO custom logger)"/a \ before { pending }' \ + spec/logging_spec.rb rspec2 -I$(dirs +1)%{gem_extdir_mri} spec @@ -106,6 +112,9 @@ popd %{gem_instdir}/Rakefile %changelog +* Tue Aug 08 2017 Jun Aruga - 1.7.2-4 +- Fix FTBFS. + * Thu Aug 03 2017 Fedora Release Engineering - 1.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild