2.6.0 rc4

This commit is contained in:
Mamoru Tasaka 2011-05-03 14:02:28 +09:00
parent e06815bd81
commit ef06d63f01
3 changed files with 22 additions and 11 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/rspec-mocks-2.5.0.gem
/rspec-mocks-2.6.0.rc4.gem

View File

@ -1,6 +1,13 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global majorver 2.6.0
%global preminorver .rc4
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
%global fedorarel 1
%global gemname rspec-mocks
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
%global rubyabi 1.8
@ -8,20 +15,20 @@
# runtime part of rspec-mocks does not depend on rspec-core
%global need_bootstrap_set 1
%if 0%{?fedora} >= 16
%global need_bootstrap_set 0
%global need_bootstrap_set 1
%endif
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
Summary: Rspec-2 doubles (mocks and stubs)
Name: rubygem-%{gemname}
Version: 2.5.0
Release: 3%{?dist}
Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/rspec/rspec-mocks
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
Source0: http://rubygems.org/gems/%{gemname}-%{fullver}.gem
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems
@ -58,7 +65,7 @@ gem install \
--rdoc \
%{SOURCE0}
chmod 0644 .%{gemdir}/cache/%{gemname}-%{version}.gem
chmod 0644 .%{gemdir}/cache/%{gemname}-%{fullver}.gem
%build
@ -67,7 +74,7 @@ mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
# cleanups
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore}
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.travis.yml}
%if 0%{?need_bootstrap} < 1
%check
@ -83,13 +90,13 @@ ruby -rubygems -Ilib/ -S rspec spec/
%doc %{geminstdir}/*.md
%{geminstdir}/lib/
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%{gemdir}/cache/%{gemname}-%{fullver}.gem
%{gemdir}/specifications/%{gemname}-%{fullver}.gemspec
%files doc
%defattr(-,root,root,-)
%{gemdir}/doc/%{gemname}-%{version}
%{gemdir}/doc/%{gemname}-%{fullver}
%{geminstdir}/.autotest
%{geminstdir}/Gemfile
%{geminstdir}/Guardfile
@ -102,6 +109,9 @@ ruby -rubygems -Ilib/ -S rspec spec/
%{geminstdir}/spec/
%changelog
* Tue May 3 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.6.0-0.1.rc4
- 2.6.0 rc4
* Sat Feb 26 2011 Mamoru Tasaka <mtasaka@fedoraproject.org>
- And enable check on rawhide

View File

@ -1 +1 @@
793c61f37292de743430b1ec9783904d rspec-mocks-2.5.0.gem
441030309f330e58ec09dddcc8073c9e rspec-mocks-2.6.0.rc4.gem