|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
Summary: Simple testing API built on Rack
|
|
|
|
|
Name: rubygem-%{gemname}
|
|
|
|
|
Version: 0.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://gitrdoc.com/brynary/rack-test/tree/master
|
|
|
|
@ -45,7 +45,12 @@ rm $RPM_BUILD_ROOT%{geminstdir}/.document
|
|
|
|
|
rm $RPM_BUILD_ROOT%{geminstdir}/Gemfile*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
(cd %{buildroot}%{geminstdir}; rake spec)
|
|
|
|
|
pushd %{buildroot}%{geminstdir}
|
|
|
|
|
mv -f spec/spec_helper.rb spec/spec_helper.rb.orig
|
|
|
|
|
sed -e '/require "bundler\/setup"/d' spec/spec_helper.rb.orig > spec/spec_helper.rb
|
|
|
|
|
rspec -P "./**/*_spec.rb" -I. spec
|
|
|
|
|
mv -f spec/spec_helper.rb.orig spec/spec_helper.rb
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
@ -68,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 07 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-2
|
|
|
|
|
- Fixed broken RSpec tests by temporary removing bundler
|
|
|
|
|
|
|
|
|
|
* Mon Jun 20 2011 Michal Fojtik <mfojtik@redhat.com> - 0.6.0-1
|
|
|
|
|
- Version bump
|
|
|
|
|
|
|
|
|
|