|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: CLI Steps for Cucumber, hand-crafted for you in Aruba
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 0.4.11
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.5.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
# aruba itself is MIT
|
|
|
|
|
# icons in templates/images are CC-BY
|
|
|
|
@ -13,9 +13,6 @@ Group: Development/Languages
|
|
|
|
|
License: MIT and CC-BY and (MIT or GPLv2) and (MIT or BSD or GPLv2)
|
|
|
|
|
URL: http://github.com/cucumber/aruba
|
|
|
|
|
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
|
|
Patch0: aruba-downgrade-childprocess-dependency.patch
|
|
|
|
|
# https://github.com/cucumber/aruba/commit/3f8ed748d73fa9d39fe163f14540a7ef2a53a5c1
|
|
|
|
|
Patch1: aruba-disable-test-that-do-not-actually-test-output.patch
|
|
|
|
|
Requires: ruby(release)
|
|
|
|
|
Requires: ruby(rubygems)
|
|
|
|
|
Requires: rubygem(cucumber) >= 1.1.1
|
|
|
|
@ -53,14 +50,6 @@ Documentation for %{name}
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
|
|
|
|
|
pushd .%{gem_dir}
|
|
|
|
|
%patch0 -p0
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -71,10 +60,6 @@ cp -a .%{gem_dir}/* \
|
|
|
|
|
%check
|
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
|
cucumber
|
|
|
|
|
# Wrongly designed test case. Process, which output should be read executes
|
|
|
|
|
# so fast, that it finished prior the output could be catched.
|
|
|
|
|
# https://github.com/cucumber/aruba/issues/146
|
|
|
|
|
sed -i '22,30 s|^|#|' spec/aruba/process_spec.rb
|
|
|
|
|
rspec spec
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
@ -101,6 +86,9 @@ popd
|
|
|
|
|
%{gem_instdir}/templates
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 22 2013 Josef Stribny <jstribny@redhat.com> - 0.5.2-1
|
|
|
|
|
- Update to aruba 0.5.2
|
|
|
|
|
|
|
|
|
|
* Sat Feb 23 2013 Vít Ondruch <vondruch@redhat.com> - 0.4.11-6
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
|
|
|
|
|