This commit is contained in:
Mamoru Tasaka 2012-01-22 06:18:52 +09:00
parent 1a5f99a00f
commit 88f1a70f40
3 changed files with 12 additions and 14 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/rspec-mocks-2.6.0.rc4.gem
/rspec-mocks-2.6.0.rc6.gem
/rspec-mocks-2.6.0.gem
/rspec-mocks-2.8.0.gem

View File

@ -1,5 +1,5 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global majorver 2.6.0
%global gemdir %{gem_dir}
%global majorver 2.8.0
#%%global preminorver .rc6
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
@ -7,9 +7,10 @@
%global fedorarel 1
%global gemname rspec-mocks
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
%global gem_name %{gemname}
%global geminstdir %{gem_instdir}
%global rubyabi 1.8
%global rubyabi 1.9.1
# %%check section needs rspec-core, however rspec-core depends on rspec-mocks
# runtime part of rspec-mocks does not depend on rspec-core
@ -17,13 +18,14 @@
%if 0%{?fedora} >= 15
%global need_bootstrap_set 0
%endif
%global need_bootstrap_set 1
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
Summary: Rspec-2 doubles (mocks and stubs)
Name: rubygem-%{gemname}
Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
Group: Development/Languages
License: MIT
@ -97,18 +99,13 @@ ruby -rubygems -Ilib/ -S rspec spec/
%files doc
%defattr(-,root,root,-)
%{gemdir}/doc/%{gemname}-%{fullver}
%{geminstdir}/.autotest
%{geminstdir}/Gemfile
%{geminstdir}/Guardfile
%{geminstdir}/Rakefile
%{geminstdir}/cucumber.yml
%{geminstdir}/%{gemname}.gemspec
%{geminstdir}/specs.watchr
%{geminstdir}/autotest/
%{geminstdir}/features/
%{geminstdir}/spec/
%changelog
* Sun Jan 21 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.8.0-1
- 2.8.0
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
c09537d81cb3034eab20b3277efc6ede rspec-mocks-2.6.0.gem
799cf162a36b247cf7ca9ee77fcc6ef3 rspec-mocks-2.8.0.gem