From b03757c3a262bcf4629c3de853bb21945fc2ee07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 16 Jul 2019 13:48:13 +0200 Subject: [PATCH] Drop useless %{rubygems_default_filter}. Shortly after introduction of this macro, the F20 was adjusted to ignore .so files provided by gems. The rhbz#1020810 was requesting to adjust the macro, but it will be better to drop it entirely, because no other usage for this macro was discovered in past 5 years. --- macros.rubygems | 10 ---------- ruby.spec | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/macros.rubygems b/macros.rubygems index 2552780..b55a402 100644 --- a/macros.rubygems +++ b/macros.rubygems @@ -32,16 +32,6 @@ gem install \\\ %{nil} -# For rubygems packages we want to filter out any provides caused by private -# libs in %%{gem_archdir}. -# -# Note that this must be invoked in the spec file, preferably as -# "%{?rubygems_default_filter}", before any %description block. -%rubygems_default_filter %{expand: \ -%global __provides_exclude_from %{?__provides_exclude_from:%{__provides_exclude_from}|}^%{gem_extdir_mri}/.*\\\\.so$ \ -} - - # The 'read' command in %%gemspec_* macros is not essential, but it is usefull # to make the sript appear in build log. diff --git a/ruby.spec b/ruby.spec index be00f79..a155812 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1212,6 +1212,7 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS" %changelog * Mon Jul 01 2019 Vít Ondruch - 2.7.0-1 - Upgrade to Ruby 2.7.0 (0c6c937904). +- Drop useless %%{rubygems_default_filter}. * Tue Jun 25 2019 Vít Ondruch - 2.6.3-121 - Properly support %%prerelease in %%gemspec_ macros.