Update to Rspec 2.12.0

This commit is contained in:
Mamoru Tasaka 2013-01-02 14:56:34 +09:00
parent fa743ef402
commit b55ed49154
3 changed files with 27 additions and 5 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ rspec-1.3.0.gem
/rspec-1.3.1.gem /rspec-1.3.1.gem
/rspec-2.8.0.gem /rspec-2.8.0.gem
/rspec-2.11.0.gem /rspec-2.11.0.gem
/rspec-2.12.0.gem

View File

@ -2,7 +2,7 @@
Summary: Behaviour driven development (BDD) framework for Ruby Summary: Behaviour driven development (BDD) framework for Ruby
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 2.11.0 Version: 2.12.0
Release: 1%{?dist} Release: 1%{?dist}
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT
@ -24,11 +24,29 @@ RSpec is a behaviour driven development (BDD) framework for Ruby.
%prep %prep
%setup -q -c -T %setup -q -c -T
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \ TOPDIR=$(pwd)
--force %{SOURCE0} 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 %build
mkdir -p .%{gem_dir}
gem install \
-V \
--local \
--install-dir .%{gem_dir} \
--force \
--rdoc \
%{gem_name}-%{version}.gem
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -45,6 +63,9 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}
%{gem_spec} %{gem_spec}
%changelog %changelog
* Wed Jan 2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.12.0-1
- Update to Rspec 2.12.0
* Thu Oct 11 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.11.0-1 * Thu Oct 11 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.11.0-1
- Update to Rspec 2.11.0 - Update to Rspec 2.11.0

View File

@ -1 +1 @@
56c3b877a40bba577ed5dbe270dcd1c2 rspec-2.11.0.gem 52f40ef7610b75bcbdbe189a19add366 rspec-2.12.0.gem