From b8a2b827e8230b9535a28965fb2fb309acfcffda Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Tue, 3 May 2011 14:02:56 +0900 Subject: [PATCH] 2.6.0 rc4 --- .gitignore | 1 + rubygem-rspec-core.spec | 28 +++++++++++++++++++--------- sources | 2 +- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 93248e3..4df6367 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rspec-core-2.5.1.gem +/rspec-core-2.6.0.rc4.gem diff --git a/rubygem-rspec-core.spec b/rubygem-rspec-core.spec index 92cc37a..3b062b6 100644 --- a/rubygem-rspec-core.spec +++ b/rubygem-rspec-core.spec @@ -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-core -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} +%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver} %global rubyabi 1.8 @@ -15,13 +22,13 @@ Summary: Rspec-2 runner and formatters Name: rubygem-%{gemname} -Version: 2.5.1 -Release: 4%{?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 @@ -71,7 +78,7 @@ gem install \ --rdoc \ %{SOURCE0} -chmod 0644 .%{gemdir}/cache/%{gemname}-%{version}.gem +chmod 0644 .%{gemdir}/cache/%{gemname}-%{fullver}.gem # rpmlint pushd .%{geminstdir} @@ -98,7 +105,7 @@ cp -a .%{_prefix}/* %{buildroot}%{_prefix}/ mv %{buildroot}%{_bindir}/autospec{,2} # cleanups -rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.treasure_map.rb,.rspec} +rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.treasure_map.rb,.rspec,.travis.yml,spec.txt} %if 0%{?need_bootstrap} < 1 %check @@ -124,13 +131,13 @@ ruby -rubygems -Ilib/ -S bin/rspec \ %{geminstdir}/bin/ %{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}/Gemfile %{geminstdir}/Guardfile %{geminstdir}/Rakefile @@ -141,6 +148,9 @@ ruby -rubygems -Ilib/ -S bin/rspec \ %{geminstdir}/spec/ %changelog +* Tue May 3 2011 Mamoru Tasaka - 2.6.0-0.1.rc4 +- 2.6.0 rc4 + * Sat Feb 26 2011 Mamoru Tasaka - And enable check on rawhide diff --git a/sources b/sources index 69ee71b..39f412c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2ff3c3c06187ae4ffee33f789972ba57 rspec-core-2.5.1.gem +2dc1a9ffed31d12ef43c2f6a7fbf00ab rspec-core-2.6.0.rc4.gem