|
|
@ -18,7 +18,11 @@ BuildRequires: rubygems-devel
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: ruby
|
|
|
|
BuildRequires: rubygem(cucumber) >= 1.1.1
|
|
|
|
BuildRequires: rubygem(cucumber) >= 1.1.1
|
|
|
|
BuildRequires: rubygem(childprocess) >= 0.2.0
|
|
|
|
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
|
|
|
|
# used in one of the features
|
|
|
|
BuildRequires: bc
|
|
|
|
BuildRequires: bc
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -42,6 +46,13 @@ Documentation for %{name}
|
|
|
|
%setup -q -c -T
|
|
|
|
%setup -q -c -T
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
%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
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|