From Fedora Project Wiki

Revision as of 14:43, 1 October 2009 by Cweyl (talk | contribs) (Initial add of page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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