Fix ELN build
The patches do not apply against the current version, but regardless, the condition is incorrect for the stated intention. Also, remove test dependencies that are unwanted in RHEL/ELN.
This commit is contained in:
parent
b527e5d20d
commit
1cbc29fbad
@ -36,10 +36,12 @@ BuildRequires: rubygems-devel
|
||||
BuildRequires: rubygem(rspec)
|
||||
BuildRequires: rubygem(thread_order)
|
||||
BuildRequires: rubygem(rake)
|
||||
%if %{undefined rhel}
|
||||
# cucumber
|
||||
BuildRequires: rubygem(aruba)
|
||||
BuildRequires: rubygem(cucumber)
|
||||
BuildRequires: rubygem(minitest)
|
||||
%endif
|
||||
BuildRequires: git
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
@ -60,7 +62,7 @@ This package contains documentation for %{name}.
|
||||
gem unpack %{SOURCE0}
|
||||
|
||||
%setup -q -D -T -n %{gem_name}-%{version} -b 1
|
||||
%if 0%{?fedora} <= 37
|
||||
%if 0%{?fedora} && 0%{?fedora} <= 37
|
||||
# Revert "display_keyword_hashes" for now on Fedora 37
|
||||
%patch1 -p1 -R
|
||||
%patch2 -p1 -R
|
||||
@ -90,9 +92,11 @@ rm -f %{buildroot}%{gem_instdir}/{.document,.yardopts}
|
||||
LANG=C.UTF-8
|
||||
export RUBYLIB=$(pwd)/lib
|
||||
rspec spec/
|
||||
%if %{undefined rhel}
|
||||
export CUCUMBER_PUBLISH_QUIET=true
|
||||
cucumber
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
|
Loading…
Reference in New Issue
Block a user