2.11.3
This commit is contained in:
parent
ab87db86e0
commit
c3900c2aaf
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
/rspec-expectations-2.6.0.rc6.gem
|
||||
/rspec-expectations-2.6.0.gem
|
||||
/rspec-expectations-2.8.0.gem
|
||||
/rspec-expectations-2.11.3.gem
|
||||
|
@ -1,10 +1,10 @@
|
||||
%global gemdir %{gem_dir}
|
||||
%global majorver 2.8.0
|
||||
%global majorver 2.11.3
|
||||
#%%global preminorver .rc6
|
||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||
%global fullver %{majorver}%{?preminorver}
|
||||
|
||||
%global fedorarel 2
|
||||
%global fedorarel 0.900
|
||||
|
||||
%global gemname rspec-expectations
|
||||
%global gem_name %gemname
|
||||
@ -15,17 +15,13 @@
|
||||
# %%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 1
|
||||
%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
|
||||
@ -35,7 +31,8 @@ Source0: http://rubygems.org/gems/%{gemname}-%{fullver}.gem
|
||||
BuildRequires: ruby(abi) = %{rubyabi}
|
||||
BuildRequires: rubygems-devel
|
||||
%if 0%{?need_bootstrap} < 1
|
||||
BuildRequires: rubygem(rspec-core)
|
||||
BuildRequires: rubygem(rspec)
|
||||
BuildRequires: rubygem(minitest)
|
||||
%endif
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: rubygem(diff-lcs)
|
||||
@ -76,7 +73,7 @@ mkdir -p %{buildroot}%{gemdir}
|
||||
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
|
||||
|
||||
# cleanups
|
||||
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.travis.yml}
|
||||
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.travis.yml,.yardopts}
|
||||
|
||||
%if 0%{?need_bootstrap} < 1
|
||||
%check
|
||||
@ -104,6 +101,9 @@ popd
|
||||
%{geminstdir}/spec/
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.11.3-1
|
||||
- 2.11.3
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.0-2.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user