This commit is contained in:
Vít Ondruch 2013-02-20 08:57:55 +01:00
parent 2d131732d7
commit 7744b15643

View File

@ -7,31 +7,30 @@
%global gem_name rspec-expectations
%global rubyabi 1.9.1
# %%check section needs rspec-core, however rspec-core depends on rspec-expectations
# runtime part of rspec-expectaions 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 expectations (should and matchers)
Name: rubygem-%{gem_name}
Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.2
Group: Development/Languages
License: MIT
URL: http://github.com/rspec/rspec-expectations
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)
BuildRequires: rubygem(minitest)
%endif
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(release)
Requires: rubygem(diff-lcs)
Provides: rubygem(%{gem_name}) = %{version}-%{release}
BuildArch: noarch
@ -66,14 +65,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}
@ -110,6 +102,9 @@ popd
%exclude %{gem_instdir}/spec/
%changelog
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 2.12.1-3
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.12.1-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild