From 2cb9d42d20b7b7d207ef591ffa45c04c6782a2b5 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Tue, 3 May 2011 14:02:00 +0900 Subject: [PATCH] 2.6.0 rc4 --- .gitignore | 1 + rubygem-rspec-expectations.spec | 30 ++++++++++++++++++++---------- sources | 2 +- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 2c0cea2..0aef58a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rspec-expectations-2.5.0.gem +/rspec-expectations-2.6.0.rc4.gem diff --git a/rubygem-rspec-expectations.spec b/rubygem-rspec-expectations.spec index d3fc59c..af75cf7 100644 --- a/rubygem-rspec-expectations.spec +++ b/rubygem-rspec-expectations.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-expectations -%global geminstdir %{gemdir}/gems/%{gemname}-%{version} +%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver} %global rubyabi 1.8 @@ -8,20 +15,20 @@ # runtime part of rspec-expectaions 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 expectations (should and matchers) 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-expectations -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 @@ -84,13 +91,13 @@ popd %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}/Gemfile %{geminstdir}/Guardfile %{geminstdir}/Rakefile @@ -101,6 +108,9 @@ popd %{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 58d6646..c46e43a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8a37e6361e8d9c59d8844dc50370fa27 rspec-expectations-2.5.0.gem +76fb289bd0bd43fad30a9ea1d3a2fee9 rspec-expectations-2.6.0.rc4.gem