diff --git a/rubygem-cucumber.spec b/rubygem-cucumber.spec index 25844da..11f7593 100644 --- a/rubygem-cucumber.spec +++ b/rubygem-cucumber.spec @@ -1,10 +1,11 @@ %global gem_name cucumber -%bcond_with bootstrap +# Enable bootstrap until dependencies are in epel9 +%global bootstrap 0 Name: rubygem-%{gem_name} Version: 7.1.0 -Release: 3%{?dist} +Release: 3%{?dist}.1 Summary: Tool to execute plain-text documents as functional tests License: MIT URL: https://cucumber.io/ @@ -18,10 +19,9 @@ Source2: %{name}-%{version}-features.txz BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby -# Aruba has circular dependency with Cucumber. -%if %{without bootstrap} +# These are for tests, disable until dependencies are in epel9 +%if %{bootstrap} BuildRequires: rubygem(aruba) -%endif BuildRequires: rubygem(builder) BuildRequires: rubygem(cucumber-core) BuildRequires: rubygem(cucumber-wire) @@ -32,6 +32,7 @@ BuildRequires: rubygem(webrick) BuildRequires: rubygem(nokogiri) BuildRequires: rubygem(rspec) BuildRequires: rubygem(rake) +%endif BuildArch: noarch %description @@ -88,6 +89,8 @@ cp -pa .%{_bindir}/* \ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check +# Disable tests until dependencies are in epel9 +%if %{bootstrap} pushd .%{gem_instdir} # Cucumber.yml is needed for both test suites. # Used as fixture for rspec and options for cucumber. @@ -99,7 +102,6 @@ sed -i '/require.*pry/ s/^/#/' spec/spec_helper.rb rspec -Ilib spec -%if %{without bootstrap} ln -s %{_builddir}/features features # Skip the test that requires rubygem-cucumber-html-formatter, @@ -110,8 +112,8 @@ sed -i -e '/^ Scenario: output html to stdout$/i @skip' \ # Use RUBYOPT to make sure that the Cucumber from current directory has # precedence over system Cucumber, which is pulled in as Aruba dependency. RUBYOPT=-Ilib cucumber --tags 'not @skip' -%endif popd +%endif %files %dir %{gem_instdir} @@ -129,6 +131,9 @@ popd %doc %{gem_instdir}/CHANGELOG.md %changelog +* Mon Jun 06 2022 Troy Dawson - 0.13.1-7.1 +- Disable test dependencies and tests, until they are in epel9 + * Sun Jan 30 2022 Mamoru TASAKA - 7.1.0-3 - BR: rubygem(rake) due to recent rubygem(rspec-core) dependency change