2.11.3
This commit is contained in:
parent
59a3ea262f
commit
00ace0a621
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/rspec-mocks-2.6.0.rc6.gem
|
||||
/rspec-mocks-2.6.0.gem
|
||||
/rspec-mocks-2.8.0.gem
|
||||
/rspec-mocks-2.11.3.gem
|
||||
|
@ -1,5 +1,5 @@
|
||||
%global gemdir %{gem_dir}
|
||||
%global majorver 2.8.0
|
||||
%global majorver 2.11.3
|
||||
#%%global preminorver .rc6
|
||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||
%global fullver %{majorver}%{?preminorver}
|
||||
@ -15,17 +15,13 @@
|
||||
# %%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 1
|
||||
%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
|
||||
@ -35,7 +31,7 @@ Source0: http://rubygems.org/gems/%{gemname}-%{fullver}.gem
|
||||
BuildRequires: ruby(abi) = %{rubyabi}
|
||||
BuildRequires: rubygems-devel
|
||||
%if 0%{?need_bootstrap} < 1
|
||||
BuildRequires: rubygem(rspec-core)
|
||||
BuildRequires: rubygem(rspec)
|
||||
%endif
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: rubygems
|
||||
@ -76,7 +72,7 @@ mkdir -p %{buildroot}%{gemdir}
|
||||
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
|
||||
|
||||
# cleanups
|
||||
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.travis.yml}
|
||||
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.travis.yml,.yardopts}
|
||||
|
||||
%if 0%{?need_bootstrap} < 1
|
||||
%check
|
||||
@ -103,6 +99,9 @@ ruby -rubygems -Ilib/ -S rspec spec/
|
||||
%{geminstdir}/spec/
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.11.3-1
|
||||
- 2.11.3
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-1.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user