Merge #1 Disable unwanted dependencies in RHEL builds
This commit is contained in:
commit
d84f54187a
@ -31,8 +31,10 @@ BuildRequires: rubygem(rake)
|
|||||||
# Some features in expectations needs this
|
# Some features in expectations needs this
|
||||||
BuildRequires: rubygem(rspec-support) >= 3.9.3
|
BuildRequires: rubygem(rspec-support) >= 3.9.3
|
||||||
BuildRequires: rubygem(minitest) >= 5
|
BuildRequires: rubygem(minitest) >= 5
|
||||||
|
%if ! 0%{?rhel}
|
||||||
BuildRequires: rubygem(aruba)
|
BuildRequires: rubygem(aruba)
|
||||||
BuildRequires: rubygem(cucumber)
|
BuildRequires: rubygem(cucumber)
|
||||||
|
%endif
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -72,6 +74,7 @@ LANG=C.UTF-8
|
|||||||
export RUBYLIB=$(pwd)/lib
|
export RUBYLIB=$(pwd)/lib
|
||||||
rspec spec/
|
rspec spec/
|
||||||
|
|
||||||
|
%if ! 0%{?rhel}
|
||||||
# Skip one failing scenario, needs investigating...
|
# Skip one failing scenario, needs investigating...
|
||||||
sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d'
|
sed -i features/built_in_matchers/include.feature -e '\@skip-on-fedora@d'
|
||||||
sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|'
|
sed -i features/built_in_matchers/include.feature -e 's|^\([ \t]*\)\(Scenario: counts usage.*\)|\1@skip-on-fedora\n\1\2|'
|
||||||
@ -81,6 +84,7 @@ cucumber \
|
|||||||
--tag "not @skip-on-fedora" \
|
--tag "not @skip-on-fedora" \
|
||||||
%{nil}
|
%{nil}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user