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.
This commit is contained in:
Vít Ondruch 2019-07-16 13:48:13 +02:00
commit b03757c3a2
2 changed files with 1 additions and 10 deletions

View file

@ -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.

View file

@ -1212,6 +1212,7 @@ make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
%changelog
* Mon Jul 01 2019 Vít Ondruch <vondruch@redhat.com> - 2.7.0-1
- Upgrade to Ruby 2.7.0 (0c6c937904).
- Drop useless %%{rubygems_default_filter}.
* Tue Jun 25 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.3-121
- Properly support %%prerelease in %%gemspec_ macros.