This commit is contained in:
Mamoru Tasaka 2012-01-22 06:17:35 +09:00
parent 51bccc9605
commit 86a3e92bf1
3 changed files with 13 additions and 13 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/rspec-expectations-2.6.0.rc4.gem
/rspec-expectations-2.6.0.rc6.gem
/rspec-expectations-2.6.0.gem
/rspec-expectations-2.8.0.gem

View File

@ -1,5 +1,5 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global majorver 2.6.0
%global gemdir %{gem_dir}
%global majorver 2.8.0
#%%global preminorver .rc6
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
%global fullver %{majorver}%{?preminorver}
@ -7,9 +7,10 @@
%global fedorarel 1
%global gemname rspec-expectations
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
%global gem_name %gemname
%global geminstdir %{gem_instdir}
%global rubyabi 1.8
%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
@ -17,13 +18,14 @@
%if 0%{?fedora} >= 15
%global need_bootstrap_set 0
%endif
%global need_bootstrap_set 1
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
Summary: Rspec-2 expectations (should and matchers)
Name: rubygem-%{gemname}
Version: %{majorver}
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}.1
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
Group: Development/Languages
License: MIT
@ -36,7 +38,7 @@ BuildRequires: rubygems
BuildRequires: rubygem(rspec-core)
%endif
Requires: ruby(abi) = %{rubyabi}
Requires: rubygem(diff-lcs)
#Requires: rubygem(diff-lcs)
Provides: rubygem(%{gemname}) = %{version}-%{release}
BuildArch: noarch
@ -98,16 +100,13 @@ popd
%files doc
%defattr(-,root,root,-)
%{gemdir}/doc/%{gemname}-%{fullver}
%{geminstdir}/Gemfile
%{geminstdir}/Guardfile
%{geminstdir}/Rakefile
%{geminstdir}/cucumber.yml
%{geminstdir}/%{gemname}.gemspec
%{geminstdir}/specs.watchr
%{geminstdir}/features/
%{geminstdir}/spec/
%changelog
* Sun Jan 21 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.8.0-1
- 2.8.0
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
31bcccd2be299d0e16dbfe09082bf46c rspec-expectations-2.6.0.gem
ff189516304527bec2fc8c2957ff2766 rspec-expectations-2.8.0.gem