From Fedora Project Wiki
The RPM macro %perl_default_filter is a utility macro that can be used the various perl-* packages to take care of the more routine filtering of the auto provides/requires RPM metadata. It should be invoked before the first %description section as:
%{?perl_default_filter}
Currently, the macro expands to invoke the filtering system as such:
%filter_provides_in %{perl_vendorarch}/.*\\.so$ %filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ %filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d %filter_provides_in %{_docdir} %filter_requires_in %{_docdir} %filter_setup