diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec index e56b8b3..e06d835 100644 --- a/rubygem-nokogiri.spec +++ b/rubygem-nokogiri.spec @@ -1,7 +1,7 @@ %global mainver 1.11.3 #%%global prever .rc4 -%global mainrel 1 +%global mainrel 2 %global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g') %global gem_name nokogiri @@ -29,7 +29,6 @@ BuildRequires: ruby(rubygems) ## ## For %%check BuildRequires: rubygem(minitest) -BuildRequires: rubygem(minitest-reporters) BuildRequires: rubygems-devel Obsoletes: ruby-%{gem_name} <= 1.5.2-2 #BuildRequires: ruby(racc) @@ -170,6 +169,11 @@ pushd ./%{gem_instdir} sed -i test/helper.rb \ -e '\@require.*simplecov@,\@^end$@d' +# Remove minitest-reporters. It does not provide any additional value while +# it blows up the dependency chain. +sed -i '/require..minitest.reporters./ s/^/#/' test/helper.rb +sed -i '/Minitest::Reporters/ s/^/#/' test/helper.rb + # Need investigation. For now anyway build env \ RUBYLIB=".:lib:test:ext" \ @@ -203,6 +207,9 @@ popd %{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/ %changelog +* Fri May 07 2021 Vít Ondruch - 1.11.3-2 +- Remove rubygem(minitest-reporters) dependency. + * Thu Apr 8 2021 Mamoru TASAKA - 1.11.3-1 - 1.11.3