3.9.0
Once disable test for bootstrap
This commit is contained in:
parent
029c20839b
commit
b720dfdfb9
2
.gitignore
vendored
2
.gitignore
vendored
@ -53,3 +53,5 @@
|
|||||||
/rubygem-rspec-core-3.8.1-full.tar.gz
|
/rubygem-rspec-core-3.8.1-full.tar.gz
|
||||||
/rspec-core-3.8.2.gem
|
/rspec-core-3.8.2.gem
|
||||||
/rubygem-rspec-core-3.8.2-full.tar.gz
|
/rubygem-rspec-core-3.8.2-full.tar.gz
|
||||||
|
/rspec-core-3.9.0.gem
|
||||||
|
/rubygem-rspec-core-3.9.0-full.tar.gz
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
%global majorver 3.8.2
|
%global majorver 3.9.0
|
||||||
#%%global preminorver .rc6
|
#%%global preminorver .rc6
|
||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global fedorarel 1
|
%global fedorarel 0.1
|
||||||
|
|
||||||
%global gem_name rspec-core
|
%global gem_name rspec-core
|
||||||
|
|
||||||
@ -11,14 +11,14 @@
|
|||||||
# runtime part of rspec-mocks does not depend on rspec-core
|
# runtime part of rspec-mocks does not depend on rspec-core
|
||||||
# Disable test for now due to cucumber v.s. gherkin dependency issue
|
# Disable test for now due to cucumber v.s. gherkin dependency issue
|
||||||
# pulled by aruba
|
# pulled by aruba
|
||||||
%global need_bootstrap_set 0
|
%global need_bootstrap_set 1
|
||||||
|
|
||||||
%undefine __brp_mangle_shebangs
|
%undefine __brp_mangle_shebangs
|
||||||
|
|
||||||
Summary: Rspec-2 runner and formatters
|
Summary: Rspec-2 runner and formatters
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: %{majorver}
|
Version: %{majorver}
|
||||||
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
|
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/rspec/rspec-mocks
|
URL: http://github.com/rspec/rspec-mocks
|
||||||
@ -110,6 +110,7 @@ FAILFILE+=("spec/rspec/core/runner_spec.rb")
|
|||||||
FAILTEST+=("if drb server is started with 127.0.0.1")
|
FAILTEST+=("if drb server is started with 127.0.0.1")
|
||||||
FAILFILE+=("spec/rspec/core/runner_spec.rb")
|
FAILFILE+=("spec/rspec/core/runner_spec.rb")
|
||||||
FAILTEST+=("if drb server is started with localhost")
|
FAILTEST+=("if drb server is started with localhost")
|
||||||
|
%if 0
|
||||||
# 3.8.0, ignore for now
|
# 3.8.0, ignore for now
|
||||||
FAILFILE+=("spec/rspec/core/bisect/server_spec.rb")
|
FAILFILE+=("spec/rspec/core/bisect/server_spec.rb")
|
||||||
FAILTEST+=("receives suite results")
|
FAILTEST+=("receives suite results")
|
||||||
@ -124,6 +125,10 @@ FAILFILE+=("spec/integration/bisect_runners_spec.rb")
|
|||||||
FAILTEST+=("raises BisectFailedError")
|
FAILTEST+=("raises BisectFailedError")
|
||||||
FAILFILE+=("spec/integration/bisect_runners_spec.rb")
|
FAILFILE+=("spec/integration/bisect_runners_spec.rb")
|
||||||
FAILTEST+=("runs the specs in an isolated environment")
|
FAILTEST+=("runs the specs in an isolated environment")
|
||||||
|
%endif
|
||||||
|
# New from 3.9.0
|
||||||
|
FAILFILE+=("spec/integration/spec_file_load_errors_spec.rb")
|
||||||
|
FAILTEST+=("prints a single error when it happens")
|
||||||
|
|
||||||
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -132,22 +137,6 @@ for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Fix compatibility with Aruba 0.14.0. Not sure if this is upstreamble, since
|
|
||||||
# it seems Aruba 0.7.0+ might have some Ruby 1.8.7 compatibility issues ...
|
|
||||||
%if 0%{?fedora} >= 26 || 0%{?rhel} > 7
|
|
||||||
grep -rl 'in_current_dir' | \
|
|
||||||
xargs sed -i 's/in_current_dir/cd(".")/'
|
|
||||||
grep -rl 'clean_current_dir' spec/ | \
|
|
||||||
xargs sed -i 's/clean_current_dir/setup_aruba/'
|
|
||||||
sed -i 's/remove_file/remove/' \
|
|
||||||
spec/integration/order_spec.rb \
|
|
||||||
%{nil}
|
|
||||||
sed -i '\@expect.*dirs\.pop@d' \
|
|
||||||
spec/integration/spec_file_load_errors_spec.rb \
|
|
||||||
spec/integration/suite_hooks_errors_spec.rb \
|
|
||||||
%{nil}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Well, when HOME variable is not set and tty is not a real one
|
# Well, when HOME variable is not set and tty is not a real one
|
||||||
# but pseudo-tty, with current ruby implementation $ env -i ruby -e 'p Dir.home'
|
# but pseudo-tty, with current ruby implementation $ env -i ruby -e 'p Dir.home'
|
||||||
# causes:
|
# causes:
|
||||||
@ -160,10 +149,11 @@ sed -i.warn lib/rspec/core/configuration_options.rb \
|
|||||||
|
|
||||||
ruby -rrubygems -Ilib/ -S exe/rspec || \
|
ruby -rrubygems -Ilib/ -S exe/rspec || \
|
||||||
ruby -rrubygems -Ilib/ -S exe/rspec --tag ~broken
|
ruby -rrubygems -Ilib/ -S exe/rspec --tag ~broken
|
||||||
%endif
|
|
||||||
|
|
||||||
mv lib/rspec/core/configuration_options.rb{.warn,}
|
mv lib/rspec/core/configuration_options.rb{.warn,}
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
|
|
||||||
@ -182,6 +172,10 @@ mv lib/rspec/core/configuration_options.rb{.warn,}
|
|||||||
%{gem_docdir}
|
%{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 10 2019 amoru TASAKA <mtasaka@fedoraproject.org> - 3.9.0-0.1
|
||||||
|
- 3.9.0
|
||||||
|
- Once disable test for bootstrap
|
||||||
|
|
||||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-1.1
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.2-1.1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (rspec-core-3.8.2.gem) = 167bdc8a87ecd2e304e30efab9ebf1d7b8a7b811e197da440ae6dc4acd3213f6643316683db15322eb07ab201b517725dfdb50f85415b1e38e9772746c3b5379
|
SHA512 (rspec-core-3.9.0.gem) = 5ba53020970ae29b851b7524e53e20dc6668af0e16c306d239f6470c899fad44649c44fd5180c7b7614ae3e3b8c5d872cdece3f15470cb0f80076b5250c5c992
|
||||||
SHA512 (rubygem-rspec-core-3.8.2-full.tar.gz) = af3e7d7579c4a15c4824b4000eb5ebe9a62bdb963a0d3d16d1bcecb9ed14b58c29137541c6d26f9cc0bc5eef1d4a42bb93fb979e5a3aba0da6381547d2828fbe
|
SHA512 (rubygem-rspec-core-3.9.0-full.tar.gz) = c7f4138b6f81a4e441f316d821f972881e2be4739254b9bd51d68c35e4ca3ff1206b13be60994050d580b52f9b6dd37d6ffc7334598e16a262006493e8dd8d85
|
||||||
|
Loading…
Reference in New Issue
Block a user