[Bug 924938] wrong provides in latest build

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 25 08:50:17 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=924938

--- Comment #23 from Ralf Corsepius <rc040203 at freenet.de> ---
(In reply to comment #20)
> The bogus provides [...] it comes form
> /usr/share/perl5/perl5db.pl - and it is not the only one:
Confirmed.

> Some of the other extra provides are form other *.pl files.
> 
> My suggestion would be to add
> 
> .*/%{perl_archlib}/.*\\.pl$  and  .*/%{perl_privlib}/.*\\.pl$
> 
> to __provides_exclude_from

May-be I am missing something and am going to say something stupid, but IMO,
"Provide: perl(...)" should only be provided by *.pm's and not by *.pl's. 
This would mean all *.pl's should be excluded from any perl()-provides
processing in rpm, in general.

Unfortunately file seems to have severe problems ins destinguishing "perl
scripts" from "perl modules":

F20:
# file /usr/bin/automake
/usr/bin/automake: Perl5 module source, ASCII text
# file perl-5.16.3/lib/perl5db.pl
perl-5.16.3/lib/perl5db.pl: Perl5 module source, ASCII text

F18:
# file /usr/bin/automake
/usr/bin/automake: Perl script, ASCII text executable
# file perl-5.16.3/lib/perl5db.pl
perl-5.16.3/lib/perl5db.pl: awk script, ASCII text

Both results are wrong, but differently wrong ;)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=a0Uql2tvB8&a=cc_unsubscribe



More information about the perl-devel mailing list