Le Vendredi 14 Juin 2002 17:30, Peter Chen a �crit :
> On Fri, 2002-06-14 at 08:04, Guillaume Rousse wrote:
> > My own perl-XML-DBMS pass rpmlint test flawlessly, however:
> > - /usr/lib/perl5/site_perl/5.6.1/XML/XMLtoDBMS.pm has 444 perms instead
> > of standard 644
>
> I am not sure whether there is a hard rule for this.  Many installed
> base Perl modules have 444 perms.  You may verify this by
>
> find /usr/lib/perl5/5.6.1 -name '*.pm' -ls.
>
> In fact, most of my spec files for Perl modules use
>
> %defattr(444,root,root,755)
Right, it's quite curious. Is there a reason for this ?

> > - /usr/lib/perl5/site_perl/5.6.1/XML/XMLtoDBMS.pm uses DOS line
> > termination
>
> Perl can handle DOS style new lines.  Also many CPAN modules do contain
> these.
I know it does, as the module works :-)
However, i think it is cleaner to have only one file encoding in the whole 
distribution.

> > - /usr/lib/perl5/site_perl/5.6.1/i386-linux is an empty directory only
> > hierachy
>
> Do you mean in the file list you have an entry for this directory, and
> rpmlint should emit a warning for empty directories?
The rpm contains the following files:
[guillaume@silbermann guillaume]$ rpm -ql perl-XML-DBMS
/usr/lib/perl5/site_perl/5.6.1/XML
/usr/lib/perl5/site_perl/5.6.1/XML/XMLtoDBMS.pm
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/XML
/usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/XML/XMLtoDBMS
Actually, only XMLtoDBMS.pm is a real file, so the whole 
/usr/lib/perl5/site_perl/5.6.1/i386-linux hierarchy is empty and useless.
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

Reply via email to