2.6.0 rc4
This commit is contained in:
parent
236515a121
commit
b8a2b827e8
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/rspec-core-2.5.1.gem
|
/rspec-core-2.5.1.gem
|
||||||
|
/rspec-core-2.6.0.rc4.gem
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||||||
|
%global majorver 2.6.0
|
||||||
|
%global preminorver .rc4
|
||||||
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
|
%global fedorarel 1
|
||||||
|
|
||||||
%global gemname rspec-core
|
%global gemname rspec-core
|
||||||
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
|
||||||
|
|
||||||
%global rubyabi 1.8
|
%global rubyabi 1.8
|
||||||
|
|
||||||
@ -15,13 +22,13 @@
|
|||||||
|
|
||||||
Summary: Rspec-2 runner and formatters
|
Summary: Rspec-2 runner and formatters
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gemname}
|
||||||
Version: 2.5.1
|
Version: %{majorver}
|
||||||
Release: 4%{?dist}
|
Release: %{?preminorver:0.}%{fedorarel}%{?preminorver:%{rpmminorver}}%{?dist}
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/rspec/rspec-mocks
|
URL: http://github.com/rspec/rspec-mocks
|
||||||
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
|
Source0: http://rubygems.org/gems/%{gemname}-%{fullver}.gem
|
||||||
|
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
BuildRequires: ruby(abi) = %{rubyabi}
|
||||||
BuildRequires: rubygems
|
BuildRequires: rubygems
|
||||||
@ -71,7 +78,7 @@ gem install \
|
|||||||
--rdoc \
|
--rdoc \
|
||||||
%{SOURCE0}
|
%{SOURCE0}
|
||||||
|
|
||||||
chmod 0644 .%{gemdir}/cache/%{gemname}-%{version}.gem
|
chmod 0644 .%{gemdir}/cache/%{gemname}-%{fullver}.gem
|
||||||
|
|
||||||
# rpmlint
|
# rpmlint
|
||||||
pushd .%{geminstdir}
|
pushd .%{geminstdir}
|
||||||
@ -98,7 +105,7 @@ cp -a .%{_prefix}/* %{buildroot}%{_prefix}/
|
|||||||
mv %{buildroot}%{_bindir}/autospec{,2}
|
mv %{buildroot}%{_bindir}/autospec{,2}
|
||||||
|
|
||||||
# cleanups
|
# cleanups
|
||||||
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.treasure_map.rb,.rspec}
|
rm -f %{buildroot}%{geminstdir}/{.document,.gitignore,.treasure_map.rb,.rspec,.travis.yml,spec.txt}
|
||||||
|
|
||||||
%if 0%{?need_bootstrap} < 1
|
%if 0%{?need_bootstrap} < 1
|
||||||
%check
|
%check
|
||||||
@ -124,13 +131,13 @@ ruby -rubygems -Ilib/ -S bin/rspec \
|
|||||||
%{geminstdir}/bin/
|
%{geminstdir}/bin/
|
||||||
%{geminstdir}/lib/
|
%{geminstdir}/lib/
|
||||||
|
|
||||||
%{gemdir}/cache/%{gemname}-%{version}.gem
|
%{gemdir}/cache/%{gemname}-%{fullver}.gem
|
||||||
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
|
%{gemdir}/specifications/%{gemname}-%{fullver}.gemspec
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{gemdir}/doc/%{gemname}-%{version}
|
%{gemdir}/doc/%{gemname}-%{fullver}
|
||||||
%{geminstdir}/Gemfile
|
%{geminstdir}/Gemfile
|
||||||
%{geminstdir}/Guardfile
|
%{geminstdir}/Guardfile
|
||||||
%{geminstdir}/Rakefile
|
%{geminstdir}/Rakefile
|
||||||
@ -141,6 +148,9 @@ ruby -rubygems -Ilib/ -S bin/rspec \
|
|||||||
%{geminstdir}/spec/
|
%{geminstdir}/spec/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 3 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.6.0-0.1.rc4
|
||||||
|
- 2.6.0 rc4
|
||||||
|
|
||||||
* Sat Feb 26 2011 Mamoru Tasaka <mtasaka@fedoraproject.org>
|
* Sat Feb 26 2011 Mamoru Tasaka <mtasaka@fedoraproject.org>
|
||||||
- And enable check on rawhide
|
- And enable check on rawhide
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user