From 2277cdf4264a5189baeff869ee07742c4a5211ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Wed, 20 Feb 2013 09:02:29 +0100 Subject: [PATCH] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 Bootstrap round. --- rubygem-rspec-mocks.spec | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/rubygem-rspec-mocks.spec b/rubygem-rspec-mocks.spec index d2ba3e4..4ef7250 100644 --- a/rubygem-rspec-mocks.spec +++ b/rubygem-rspec-mocks.spec @@ -7,30 +7,29 @@ %global gem_name rspec-mocks -%global rubyabi 1.9.1 # %%check section needs rspec-core, however rspec-core depends on rspec-mocks # runtime part of rspec-mocks does not depend on rspec-core -%global need_bootstrap_set 0 +%global need_bootstrap_set 1 %{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}} Summary: Rspec-2 doubles (mocks and stubs) Name: rubygem-%{gem_name} Version: %{majorver} -Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist} +Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 Group: Development/Languages License: MIT URL: http://github.com/rspec/rspec-mocks Source0: http://rubygems.org/gems/%{gem_name}-%{fullver}.gem -BuildRequires: ruby(abi) = %{rubyabi} +BuildRequires: ruby(release) BuildRequires: rubygems-devel %if 0%{?need_bootstrap} < 1 BuildRequires: rubygem(rspec) %endif -Requires: ruby(abi) = %{rubyabi} +Requires: ruby(release) Requires: rubygems Provides: rubygem(%{gem_name}) = %{version}-%{release} BuildArch: noarch @@ -65,14 +64,7 @@ popd rm -rf tmpunpackdir %build -mkdir -p .%{gem_dir} -gem install \ - -V \ - --local \ - --install-dir .%{gem_dir} \ - --force \ - --rdoc \ - %{gem_name}-%{version}.gem +%gem_install #chmod 0644 ./%{gem_cache} @@ -107,6 +99,9 @@ ruby -rubygems -Ilib/ -S rspec spec/ %exclude %{gem_instdir}/spec/ %changelog +* Wed Feb 20 2013 Vít Ondruch - 2.12.2-2 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Mon Feb 4 2013 Mamoru TASAKA - 2.12.2-1 - 2.12.2