diff --git a/.gitignore b/.gitignore index d04e5e6..74be6a1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ rspec-1.3.0.gem /rspec-1.3.1.gem /rspec-2.8.0.gem /rspec-2.11.0.gem +/rspec-2.12.0.gem diff --git a/rubygem-rspec.spec b/rubygem-rspec.spec index da36704..b8d71a1 100644 --- a/rubygem-rspec.spec +++ b/rubygem-rspec.spec @@ -2,7 +2,7 @@ Summary: Behaviour driven development (BDD) framework for Ruby Name: rubygem-%{gem_name} -Version: 2.11.0 +Version: 2.12.0 Release: 1%{?dist} Group: Development/Languages License: MIT @@ -24,11 +24,29 @@ RSpec is a behaviour driven development (BDD) framework for Ruby. %prep %setup -q -c -T -mkdir -p .%{gem_dir} -gem install --local --install-dir .%{gem_dir} \ - --force %{SOURCE0} + +TOPDIR=$(pwd) +mkdir tmpunpackdir +pushd tmpunpackdir + +gem unpack %{SOURCE0} +cd %{gem_name}-%{version} +gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec +gem build %{gem_name}.gemspec +mv %{gem_name}-%{version}.gem $TOPDIR + +popd +rm -rf tmpunpackdir %build +mkdir -p .%{gem_dir} +gem install \ + -V \ + --local \ + --install-dir .%{gem_dir} \ + --force \ + --rdoc \ + %{gem_name}-%{version}.gem %install rm -rf %{buildroot} @@ -45,6 +63,9 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} %{gem_spec} %changelog +* Wed Jan 2 2013 Mamoru TASAKA - 2.12.0-1 +- Update to Rspec 2.12.0 + * Thu Oct 11 2012 Mamoru Tasaka - 2.11.0-1 - Update to Rspec 2.11.0 diff --git a/sources b/sources index 3b2043b..c37211f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -56c3b877a40bba577ed5dbe270dcd1c2 rspec-2.11.0.gem +52f40ef7610b75bcbdbe189a19add366 rspec-2.12.0.gem