fix build failure

f38
John 10 years ago
parent 7664428d2e
commit f2e8dbf8c1

@ -18,7 +18,11 @@ BuildRequires: rubygems-devel
BuildRequires: ruby
BuildRequires: rubygem(cucumber) >= 1.1.1
BuildRequires: rubygem(childprocess) >= 0.2.0
BuildRequires: rubygem(rspec) >= 2.7.0
%if 0%{?fedora} >= 22
BuildRequires: rubygem(rspec) >= 3
%else
BuildRequires: rubygem(rspec)
%endif
# used in one of the features
BuildRequires: bc
BuildArch: noarch
@ -42,6 +46,13 @@ Documentation for %{name}
%setup -q -c -T
%gem_install -n %{SOURCE0}
%if 0%{?fedora} < 23
pushd .%{gem_instdir}/
sed -i -e 's|:example|:each|' \
spec/aruba/api_spec.rb
popd
%endif
%build
%install

Loading…
Cancel
Save