Remove rubygem(minitest-reporters) dependency.
This does not provide any value for Fedora, but it bloats dependency chain. Less dependencies is also advantage for ELN.
This commit is contained in:
parent
bb05efa7e6
commit
2ceaea6a75
@ -1,7 +1,7 @@
|
|||||||
%global mainver 1.11.3
|
%global mainver 1.11.3
|
||||||
#%%global prever .rc4
|
#%%global prever .rc4
|
||||||
|
|
||||||
%global mainrel 1
|
%global mainrel 2
|
||||||
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
||||||
|
|
||||||
%global gem_name nokogiri
|
%global gem_name nokogiri
|
||||||
@ -29,7 +29,6 @@ BuildRequires: ruby(rubygems)
|
|||||||
##
|
##
|
||||||
## For %%check
|
## For %%check
|
||||||
BuildRequires: rubygem(minitest)
|
BuildRequires: rubygem(minitest)
|
||||||
BuildRequires: rubygem(minitest-reporters)
|
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
Obsoletes: ruby-%{gem_name} <= 1.5.2-2
|
Obsoletes: ruby-%{gem_name} <= 1.5.2-2
|
||||||
#BuildRequires: ruby(racc)
|
#BuildRequires: ruby(racc)
|
||||||
@ -170,6 +169,11 @@ pushd ./%{gem_instdir}
|
|||||||
sed -i test/helper.rb \
|
sed -i test/helper.rb \
|
||||||
-e '\@require.*simplecov@,\@^end$@d'
|
-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
|
# Need investigation. For now anyway build
|
||||||
env \
|
env \
|
||||||
RUBYLIB=".:lib:test:ext" \
|
RUBYLIB=".:lib:test:ext" \
|
||||||
@ -203,6 +207,9 @@ popd
|
|||||||
%{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
|
%{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 07 2021 Vít Ondruch <vondruch@redhat.com> - 1.11.3-2
|
||||||
|
- Remove rubygem(minitest-reporters) dependency.
|
||||||
|
|
||||||
* Thu Apr 8 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.11.3-1
|
* Thu Apr 8 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.11.3-1
|
||||||
- 1.11.3
|
- 1.11.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user