On 01/10/10 09:26, Marcela MaÅlÃÅovà wrote: > commit 29e9c5e6c9749506b3718757acf3069d1f7bab33 > Author: Marcela MaÅlÃÅovÃ<mmaslano@xxxxxxxxxx> > Date: Fri Oct 1 09:25:49 2010 +0200 > > Filter *.so at the start of spec. > > perl.spec | 68 +++++++++--------------------------------------------------- > 1 files changed, 11 insertions(+), 57 deletions(-) > --- > diff --git a/perl.spec b/perl.spec > index b73be39..3aa9bcc 100644 > --- a/perl.spec > +++ b/perl.spec > @@ -6,6 +6,17 @@ > %define multilib_64_archs x86_64 s390x ppc64 sparc64 > %define parallel_tests 1 > > +# internal filter just for this spec > +%define %perl_default_filter %{?filter_setup: %{expand: \ > +%filter_provides_in %{perl_vendorarch}/.*\\.so$ \ > +%filter_provides_in %{archlib}/.*\\.so$ \ > +%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ \ > +%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d \ perl(UNIVERSAL) and perl(DB) shouldn't be filtered from the provides of the main perl package since it actually *does* provide these modules. We currently have the situation in F-15 and Rawhide where various packages claim to provide these but the one that actually does doesn't advertise the fact: # repoquery --whatprovides 'perl(UNIVERSAL)' perl-UNIVERSAL-exports-0:0.05-10.fc15.noarch perl-Perlilog-0:0.3-7.fc15.noarch perl-UNIVERSAL-moniker-0:0.08-13.fc15.noarch perl-UNIVERSAL-require-0:0.13-5.fc15.noarch # repoquery --whatprovides 'perl(DB)' parrot-tools-0:3.0.0-3.fc15.i686 perl-Crypt-SSLeay-0:0.58-3.fc15.i686 perl-Contextual-Return-0:0.2.1-8.fc15.noarch perl-Class-Throwable-0:0.10-7.fc15.noarch perl-Devel-SmallProf-0:2.02-9.fc15.noarch perl-Spiffy-0:0.30-15.fc15.noarch perl-GraphViz-0:2.04-5.fc15.noarch perl-Devel-Caller-0:2.05-3.fc15.i686 I'm having some local difficulties with yum as a result of this: ERROR with rpm_check_debug vs depsolve: perl(UNIVERSAL) is needed by perl-DBI-1.616-3.fc16.x86_64 Complete! (1, [u'Please report this error in http://yum.baseurl.org/report']) Paul. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel