Remove the test suite hack made obsolete by proper fix in rubygem-cucumber.

Since rubygem-cucumber-3.1.2-5, the backtrace is properly filtered,
therefore there is no need to patch tests.
epel9
Vít Ondruch 6 years ago
parent 5a80b55e16
commit b1a53c1ef2

@ -5,7 +5,7 @@
Name: rubygem-%{gem_name}
Version: 0.0.1
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Wire protocol for Cucumber
License: MIT
URL: http://cucumber.io
@ -61,11 +61,6 @@ cp -a .%{gem_dir}/* \
pushd .%{gem_instdir}
LANG=C.UTF-8 rspec spec
# The Timeout::Error backtrace used to look differently but upstream have
# to yet support more recent Ruby.
# https://github.com/cucumber/cucumber-ruby-wire/pull/7
sed -i "/(Timeout::Error)/ a\ /usr/share/ruby/timeout.rb:108:in \`timeout'" features/timeouts.feature
# Ensure the current version of cucumber-wire is used in place of system one,
# pulled in as a Cucumber dependency.
RUBYOPT="-I$(pwd)/lib" cucumber
@ -89,6 +84,9 @@ popd
%{gem_instdir}/spec
%changelog
* Fri Mar 08 2019 Vít Ondruch <vondruch@redhat.com> - 0.0.1-9
- Remove the test suite hack made obsolete by proper fix in rubygem-cucumber.
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save