On Wed, Feb 28, 2007 at 10:26:24AM +0300, Alexey Tourbin wrote: > On Sun, Jan 21, 2007 at 03:37:28PM +0300, Dmitry V. Levin wrote: > > Update of /people/ldv/packages/file.git > > > > Tag `4.19-alt2' created by Dmitry V. Levin at 2007-01-21 12:28:03 +0300 > > with the following message: > > > > file 4.19-alt2 > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > iD8DBQBFs1552XqGi/fduzoRAjIYAJ9thH3VkTuw0b4Y0mRzc2ZWtXCAqwCfZiHz > > ywrE9XC1umVH3yYwPplFn1s= > > =l3vL > > -----END PGP SIGNATURE----- > > ======= > > > > Changes statistics since `4.19-alt1' follows: > > file.spec | 5 ++++- > > file/magic/Magdir/perl | 12 ++++++------ > > 2 files changed, 10 insertions(+), 7 deletions(-) > > > > Changelog since `4.19-alt1' follows: > > commit fd2e11e7131c3bfd2ddd3ae73d014e421955bcdb > > Author: Dmitry V. Levin > > Date: Sun Jan 21 12:28:03 2007 +0000 > > > > 4.19-alt2 > > > > - Commented out new "Perl POD documents" magix. > > > > commit 4e8e63dffcfca052ce55e9868bcc0446f6bf253c > > Author: Dmitry V. Levin > > Date: Sun Jan 21 12:26:35 2007 +0000 > > > > Magdir/perl: Comment out new "Perl POD documents" magix > > > > Full diff since `4.19-alt1' follows: > > diff --git a/file.spec b/file.spec > > index b6a4f52..9d027a7 100644 > > --- a/file.spec > > +++ b/file.spec > > @@ -1,6 +1,6 @@ > > Name: file > > Version: 4.19 > > -Release: alt1 > > +Release: alt2 > > > > Summary: A utility for determining file types > > License: BSD-style > > @@ -111,6 +111,9 @@ ln -s ../file/magic{,.mime} %buildroot%_datadir/magic/ > > %endif > > > > %changelog > > +* Sun Jan 21 2007 Dmitry V. Levin 4.19-alt2 > > +- Commented out new "Perl POD documents" magix. > > + > > * Mon Jan 15 2007 Dmitry V. Levin 4.19-alt1 > > - Updated to 4.19. > > - Merged patches from Debian 4.17-5 and FC 4.19-1 packages. > > diff --git a/file/magic/Magdir/perl b/file/magic/Magdir/perl > > index 7a37b7d..2e989d7 100644 > > --- a/file/magic/Magdir/perl > > +++ b/file/magic/Magdir/perl > > @@ -18,12 +18,12 @@ > > > > # Perl POD documents > > # From: Tom Hukins > > -0 string/B \=pod\n Perl POD document > > -0 string/B \n\=pod\n Perl POD document > > -0 string/B \=head1\ Perl POD document > > -0 string/B \n\=head1\ Perl POD document > > -0 string/B \=head2\ Perl POD document > > -0 string/B \n\=head2\ Perl POD document > > +#0 string/B \=pod\n Perl POD document > > +#0 string/B \n\=pod\n Perl POD document > > +#0 string/B \=head1\ Perl POD document > > +#0 string/B \n\=head1\ Perl POD document > > +#0 string/B \=head2\ Perl POD document > > +#0 string/B \n\=head2\ Perl POD document > > > > # Perl Storable data files. > > 0 string perl-store perl Storable(v0.6) data > > Что-то странное получается. > > $ file /usr/lib/perl5/pod/perlfunc.pod > /usr/lib/perl5/pod/perlfunc.pod: Perl5 module source text > $ В этом и был tradeoff: пусть лучше Perl POD document будет распознан как Perl5 module source text, чем какой-нибудь Perl5 module source text будет распознан как Perl POD document. -- ldv