This commit is contained in:
parent
2d131732d7
commit
7744b15643
@ -7,31 +7,30 @@
|
|||||||
|
|
||||||
%global gem_name rspec-expectations
|
%global gem_name rspec-expectations
|
||||||
|
|
||||||
%global rubyabi 1.9.1
|
|
||||||
|
|
||||||
# %%check section needs rspec-core, however rspec-core depends on rspec-expectations
|
# %%check section needs rspec-core, however rspec-core depends on rspec-expectations
|
||||||
# runtime part of rspec-expectaions does not depend on rspec-core
|
# 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}}
|
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
|
||||||
|
|
||||||
Summary: Rspec-2 expectations (should and matchers)
|
Summary: Rspec-2 expectations (should and matchers)
|
||||||
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}.2
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/rspec/rspec-expectations
|
URL: http://github.com/rspec/rspec-expectations
|
||||||
Source0: http://rubygems.org/gems/%{gem_name}-%{fullver}.gem
|
Source0: http://rubygems.org/gems/%{gem_name}-%{fullver}.gem
|
||||||
|
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
BuildRequires: ruby(release)
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
%if 0%{?need_bootstrap} < 1
|
%if 0%{?need_bootstrap} < 1
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
BuildRequires: rubygem(minitest)
|
BuildRequires: rubygem(minitest)
|
||||||
%endif
|
%endif
|
||||||
Requires: ruby(abi) = %{rubyabi}
|
Requires: ruby(release)
|
||||||
Requires: rubygem(diff-lcs)
|
Requires: rubygem(diff-lcs)
|
||||||
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -66,14 +65,7 @@ popd
|
|||||||
rm -rf tmpunpackdir
|
rm -rf tmpunpackdir
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p .%{gem_dir}
|
%gem_install
|
||||||
gem install \
|
|
||||||
-V \
|
|
||||||
--local \
|
|
||||||
--install-dir .%{gem_dir} \
|
|
||||||
--force \
|
|
||||||
--rdoc \
|
|
||||||
%{gem_name}-%{version}.gem
|
|
||||||
|
|
||||||
#chmod 0644 ./%{gem_cache}
|
#chmod 0644 ./%{gem_cache}
|
||||||
|
|
||||||
@ -110,6 +102,9 @@ popd
|
|||||||
%exclude %{gem_instdir}/spec/
|
%exclude %{gem_instdir}/spec/
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user