This commit is contained in:
Vít Ondruch 2013-02-24 12:50:21 +01:00
parent 2277cdf426
commit 95b8578f4f

View File

@ -3,21 +3,21 @@
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver} %global fullver %{majorver}%{?preminorver}
%global fedorarel 1 %global fedorarel 2
%global gem_name rspec-mocks %global gem_name rspec-mocks
# %%check section needs rspec-core, however rspec-core depends on rspec-mocks # %%check section needs rspec-core, however rspec-core depends on rspec-mocks
# runtime part of rspec-mocks does not depend on rspec-core # runtime part of rspec-mocks does not depend on rspec-core
%global need_bootstrap_set 1 %global need_bootstrap_set 0
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}} %{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
Summary: Rspec-2 doubles (mocks and stubs) Summary: Rspec-2 doubles (mocks and stubs)
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: %{majorver} Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1 Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT