3.4.1
- Once disable tests
This commit is contained in:
parent
74f764b8b0
commit
59b12b148e
2
.gitignore
vendored
2
.gitignore
vendored
@ -25,3 +25,5 @@
|
|||||||
/rubygem-rspec-core-3.2.3-full.tar.gz
|
/rubygem-rspec-core-3.2.3-full.tar.gz
|
||||||
/rspec-core-3.3.2.gem
|
/rspec-core-3.3.2.gem
|
||||||
/rubygem-rspec-core-3.3.2-full.tar.gz
|
/rubygem-rspec-core-3.3.2-full.tar.gz
|
||||||
|
/rspec-core-3.4.1.gem
|
||||||
|
/rubygem-rspec-core-3.4.1-full.tar.gz
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
%global majorver 3.3.2
|
%global majorver 3.4.1
|
||||||
#%%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 3
|
%global fedorarel 1
|
||||||
|
|
||||||
%global gem_name rspec-core
|
%global gem_name rspec-core
|
||||||
|
|
||||||
# %%check section needs rspec-core, however rspec-core depends on rspec-mocks
|
# %%check section needs rspec-core, however rspec-core depends on rspec-mocks
|
||||||
# runtime part of rspec-mocks does not depend on rspec-core
|
# 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
|
Summary: Rspec-2 runner and formatters
|
||||||
Name: rubygem-%{gem_name}
|
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
|
Source1: rubygem-%{gem_name}-%{version}-full.tar.gz
|
||||||
Source2: rspec-related-create-full-tarball.sh
|
Source2: rspec-related-create-full-tarball.sh
|
||||||
|
|
||||||
BuildRequires: ruby(release)
|
#BuildRequires: ruby(release)
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
%if 0%{?need_bootstrap_set} < 1
|
%if 0%{?need_bootstrap_set} < 1
|
||||||
BuildRequires: rubygem(minitest)
|
BuildRequires: rubygem(minitest)
|
||||||
@ -90,20 +90,17 @@ pushd %{gem_name}-%{version}
|
|||||||
|
|
||||||
FAILFILE=()
|
FAILFILE=()
|
||||||
FAILTEST=()
|
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")
|
FAILFILE+=("spec/rspec/core/formatters/progress_formatter_spec.rb")
|
||||||
FAILTEST+=("produces the expected full output")
|
FAILTEST+=("produces the expected full output")
|
||||||
FAILFILE+=("spec/rspec/core/formatters/documentation_formatter_spec.rb")
|
FAILFILE+=("spec/rspec/core/formatters/documentation_formatter_spec.rb")
|
||||||
FAILTEST+=("produces the expected full output")
|
FAILTEST+=("produces the expected full output")
|
||||||
|
FAILFILE+=("spec/rspec/core/source/syntax_highlighter_spec.rb")
|
||||||
|
FAILTEST+=(""when CodeRay is available)
|
||||||
# NET??
|
# NET??
|
||||||
FAILFILE+=("spec/rspec/core/runner_spec.rb")
|
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")
|
||||||
# ???
|
|
||||||
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++)) {
|
for ((i = 0; i < ${#FAILFILE[@]}; i++)) {
|
||||||
sed -i \
|
sed -i \
|
||||||
@ -121,8 +118,9 @@ popd
|
|||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
|
|
||||||
%license %{gem_instdir}/License.txt
|
%license %{gem_instdir}/LICENSE.md
|
||||||
%doc %{gem_instdir}/*.md
|
%doc %{gem_instdir}/Changelog.md
|
||||||
|
%doc %{gem_instdir}/README.md
|
||||||
|
|
||||||
%{_bindir}/rspec
|
%{_bindir}/rspec
|
||||||
%{gem_instdir}/exe/
|
%{gem_instdir}/exe/
|
||||||
@ -135,6 +133,10 @@ popd
|
|||||||
%{gem_docdir}
|
%{gem_docdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 12 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-3
|
||||||
- Enable thread_order dependent tests
|
- Enable thread_order dependent tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user