- Once disable tests
This commit is contained in:
Mamoru TASAKA 2015-12-08 16:21:42 +09:00
parent 74f764b8b0
commit 59b12b148e
3 changed files with 17 additions and 13 deletions

2
.gitignore vendored
View File

@ -25,3 +25,5 @@
/rubygem-rspec-core-3.2.3-full.tar.gz
/rspec-core-3.3.2.gem
/rubygem-rspec-core-3.3.2-full.tar.gz
/rspec-core-3.4.1.gem
/rubygem-rspec-core-3.4.1-full.tar.gz

View File

@ -1,15 +1,15 @@
%global majorver 3.3.2
%global majorver 3.4.1
#%%global preminorver .rc6
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 3
%global fedorarel 1
%global gem_name rspec-core
# %%check section needs rspec-core, however rspec-core depends on rspec-mocks
# runtime part of rspec-mocks does not depend on rspec-core
%global need_bootstrap_set 0
%global need_bootstrap_set 1
Summary: Rspec-2 runner and formatters
Name: rubygem-%{gem_name}
@ -24,7 +24,7 @@ Source0: http://rubygems.org/gems/%{gem_name}-%{fullver}.gem
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
Source2: rspec-related-create-full-tarball.sh
BuildRequires: ruby(release)
#BuildRequires: ruby(release)
BuildRequires: rubygems-devel
%if 0%{?need_bootstrap_set} < 1
BuildRequires: rubygem(minitest)
@ -90,20 +90,17 @@ pushd %{gem_name}-%{version}
FAILFILE=()
FAILTEST=()
FAILFILE+=("spec/rspec/core/formatters/html_formatter_spec.rb")
FAILTEST+=("is identical to the one we designed manually")
FAILFILE+=("spec/rspec/core/formatters/progress_formatter_spec.rb")
FAILTEST+=("produces the expected full output")
FAILFILE+=("spec/rspec/core/formatters/documentation_formatter_spec.rb")
FAILTEST+=("produces the expected full output")
FAILFILE+=("spec/rspec/core/source/syntax_highlighter_spec.rb")
FAILTEST+=(""when CodeRay is available)
# NET??
FAILFILE+=("spec/rspec/core/runner_spec.rb")
FAILTEST+=("if drb server is started with 127.0.0.1")
FAILFILE+=("spec/rspec/core/runner_spec.rb")
FAILTEST+=("if drb server is started with localhost")
# ???
FAILFILE+=("spec/rspec/core/configuration_spec.rb")
FAILTEST+=("does not load files in the default path when run by ruby")
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
sed -i \
@ -121,8 +118,9 @@ popd
%files
%dir %{gem_instdir}
%license %{gem_instdir}/License.txt
%doc %{gem_instdir}/*.md
%license %{gem_instdir}/LICENSE.md
%doc %{gem_instdir}/Changelog.md
%doc %{gem_instdir}/README.md
%{_bindir}/rspec
%{gem_instdir}/exe/
@ -135,6 +133,10 @@ popd
%{gem_docdir}
%changelog
* Tue Dec 8 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.4.1-1
- 3.4.1
- Once disable tests
* Wed Aug 12 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-3
- Enable thread_order dependent tests

View File

@ -1,2 +1,2 @@
03f610155f426187ecc0d4275d0d56dc rspec-core-3.3.2.gem
0bbd80ac2492aa2a50b67abad817716d rubygem-rspec-core-3.3.2-full.tar.gz
874c282deb7a806225d5b33eeb94e46c rspec-core-3.4.1.gem
a77953f57e9e51b197df53c27f537207 rubygem-rspec-core-3.4.1-full.tar.gz