Hello community,
here is the log from the commit of package perl-MIME-Types
checked in at Mon Oct 8 12:27:55 CEST 2007.
--------
--- perl-MIME-Types/perl-MIME-Types.changes 2007-06-11 13:10:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/perl-MIME-Types/perl-MIME-Types.changes 2007-10-08 09:52:00.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Oct 8 09:27:29 CEST 2007 - anicka@suse.cz
+
+- update to 1.21
+ * patch tests to work on VMS
+ * patch for image/pjpeg bug IE6
+
+-------------------------------------------------------------------
Old:
----
MIME-Types-1.20.tar.bz2
New:
----
MIME-Types-1.21.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MIME-Types.spec ++++++
--- /var/tmp/diff_new_pack.f11523/_old 2007-10-08 12:27:51.000000000 +0200
+++ /var/tmp/diff_new_pack.f11523/_new 2007-10-08 12:27:51.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-MIME-Types (Version 1.20)
+# spec file for package perl-MIME-Types (Version 1.21)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -10,12 +10,12 @@
Name: perl-MIME-Types
-URL: http://cpan.org/modules/by-module/MIME/
-Version: 1.20
+Url: http://cpan.org/modules/by-module/MIME/
+Version: 1.21
Release: 1
Requires: perl = %{perl_version}
-Autoreqprov: on
-Group: Development/Languages/Perl
+AutoReqProv: on
+Group: Development/Libraries/Perl
License: Artistic License
Summary: MIME-Type Determination
Source: MIME-Types-%{version}.tar.bz2
@@ -54,8 +54,11 @@
%{perl_vendorarch}/auto/MIME
%{perl_vendorlib}/MIME
/var/adm/perl-modules/perl-MIME-Types
-
%changelog
+* Mon Oct 08 2007 - anicka@suse.cz
+- update to 1.21
+ * patch tests to work on VMS
+ * patch for image/pjpeg bug IE6
* Mon Jun 11 2007 - anicka@suse.cz
- update to 1.20
* added application/xslt+xml (.xslt)
++++++ MIME-Types-1.20.tar.bz2 -> MIME-Types-1.21.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/ChangeLog new/MIME-Types-1.21/ChangeLog
--- old/MIME-Types-1.20/ChangeLog 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/ChangeLog 2007-09-10 21:18:25.000000000 +0200
@@ -6,6 +6,12 @@
**** Inform Austin Ziegler < mime-types@halostatue.ca> at each release, to
**** update his Ruby port of the module.
+version 1.21: Mon Sep 10 21:18:08 CEST 2007
+
+ - patch tests to work on VMS [Peter (Stig) Edwards]
+
+ - patch for image/pjpeg bug IE6 [Nicolas Mendosa]
+
version 1.20: Fri Jun 8 16:21:33 CEST 2007
- added application/xslt+xml (.xslt) [David Dierauer]
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/lib/MIME/Type.pm new/MIME-Types-1.21/lib/MIME/Type.pm
--- old/MIME-Types-1.20/lib/MIME/Type.pm 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/lib/MIME/Type.pm 2007-09-10 21:18:26.000000000 +0200
@@ -1,10 +1,10 @@
# Copyrights 1999,2001-2007 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.00.
+# Pod stripped from pm file by OODoc 1.02.
package MIME::Type;
use vars '$VERSION';
-$VERSION = '1.20';
+$VERSION = '1.21';
use strict;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/lib/MIME/Type.pod new/MIME-Types-1.21/lib/MIME/Type.pod
--- old/MIME-Types-1.20/lib/MIME/Type.pod 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/lib/MIME/Type.pod 2007-09-10 21:18:26.000000000 +0200
@@ -2,6 +2,8 @@
MIME::Type - Definition of one MIME type
+=head1 INHERITANCE
+
=head1 SYNOPSIS
use MIME::Types;
@@ -53,7 +55,7 @@
is required) will result in the type name, the same as L
returns.
-IExample: use of stringification
+example: use of stringification
my $mime = MIME::Type->new('text/html');
print "$mime\n"; # explicit stringification
@@ -161,7 +163,7 @@
the C<x-> can disappear. In many cases, we prefer the simplified version
of the type.
-IExample: results of simplified()
+example: results of simplified()
my $mime = MIME::Type->new(type => 'x-appl/x-zip');
print $mime->simplified; # 'appl/zip'
@@ -257,15 +259,19 @@
=head1 DIAGNOSTICS
-IError: Type parameter is obligatory.
+Error: Type parameter is obligatory.
+
+=over 4
When a LMIME::Type|MIME::Type object is created, the type itself must be
specified with the C<type> option flag.
+=back
+
=head1 SEE ALSO
-This module is part of MIME-Types distribution version 1.20,
-built on June 08, 2007. Website: Fhttp://perl.overmeer.net/mimetypes/
+This module is part of MIME-Types distribution version 1.21,
+built on September 10, 2007. Website: Fhttp://perl.overmeer.net/mimetypes/
=head1 LICENSE
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/lib/MIME/Types.pm new/MIME-Types-1.21/lib/MIME/Types.pm
--- old/MIME-Types-1.20/lib/MIME/Types.pm 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/lib/MIME/Types.pm 2007-09-10 21:18:26.000000000 +0200
@@ -1,11 +1,11 @@
# Copyrights 1999,2001-2007 by Mark Overmeer.
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 1.00.
+# Pod stripped from pm file by OODoc 1.02.
package MIME::Types;
use vars '$VERSION';
-$VERSION = '1.20';
+$VERSION = '1.21';
use strict;
@@ -754,7 +754,7 @@
image/g3fax
image/gif gif base64
image/ief ief base64
-image/jp2 jp2,jpg2
+image/jp2 jp2,jpg2 base64
image/jpeg jpeg,jpg,jpe base64
image/jpm jpm,jpgm
image/jpx jpf,jpx
@@ -936,6 +936,9 @@
vms:text/plain doc 8bit
mac:application/x-macbase64 bin
+# IE6 bug
+image/pjpeg base64
+
__MIMETYPES__
1;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/lib/MIME/Types.pod new/MIME-Types-1.21/lib/MIME/Types.pod
--- old/MIME-Types-1.20/lib/MIME/Types.pod 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/lib/MIME/Types.pod 2007-09-10 21:18:26.000000000 +0200
@@ -5,7 +5,7 @@
=head1 INHERITANCE
MIME::Types
- is an Exporter
+ is a Exporter
=head1 SYNOPSIS
@@ -93,7 +93,7 @@
In some cases, more than one type is known for a certain filename extension.
In that case, one of the alternatives is chosen at random.
-IExample: use of mimeTypeOf()
+example: use of mimeTypeOf()
my MIME::Types $types = MIME::Types->new;
my MIME::Type $mime = $types->mimeTypeOf('gif');
@@ -150,7 +150,7 @@
Like C<mimeTypeOf>, but does not return an CMIME::Type object. If the file
+type is unknown, both the returned media type and encoding are empty strings.
-IExample: use of function by_suffix()
+example: use of function by_suffix()
use MIME::Types 'by_suffix';
my ($mediatype, $encoding) = by_suffix 'image.gif';
@@ -174,8 +174,8 @@
=head1 SEE ALSO
-This module is part of MIME-Types distribution version 1.20,
-built on June 08, 2007. Website: Fhttp://perl.overmeer.net/mimetypes/
+This module is part of MIME-Types distribution version 1.21,
+built on September 10, 2007. Website: Fhttp://perl.overmeer.net/mimetypes/
=head1 LICENSE
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/Makefile.PL new/MIME-Types-1.21/Makefile.PL
--- old/MIME-Types-1.20/Makefile.PL 2007-06-08 16:21:22.000000000 +0200
+++ new/MIME-Types-1.21/Makefile.PL 2007-09-10 21:18:25.000000000 +0200
@@ -4,13 +4,14 @@
WriteMakefile
( NAME => 'MIME::Types'
- , VERSION => '1.20'
+ , VERSION => '1.21'
, PREREQ_PM =>
{ Test::More => 0.47
, Test::Pod => 1.00
}
, AUTHOR => 'Mark Overmeer'
, ABSTRACT => 'Definition of MIME types'
+ , LICENSE => 'perl'
);
### used by oodist during production of distribution
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/MANIFEST new/MIME-Types-1.21/MANIFEST
--- old/MIME-Types-1.20/MANIFEST 2007-06-08 16:21:38.000000000 +0200
+++ new/MIME-Types-1.21/MANIFEST 2007-09-10 21:18:29.000000000 +0200
@@ -1,6 +1,5 @@
ChangeLog
MANIFEST
-META.yml Module meta-data (added by MakeMaker)
Makefile.PL
README
lib/MIME/Type.pm
@@ -12,3 +11,4 @@
t/20types.t
t/30export.t
t/pod.t
+META.yml Module meta-data (added by MakeMaker)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/META.yml new/MIME-Types-1.21/META.yml
--- old/MIME-Types-1.20/META.yml 2007-06-08 16:21:40.000000000 +0200
+++ new/MIME-Types-1.21/META.yml 2007-09-10 21:18:29.000000000 +0200
@@ -1,12 +1,15 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: MIME-Types
-version: 1.20
-version_from:
-installdirs: site
-requires:
+--- #YAML:1.0
+name: MIME-Types
+version: 1.21
+abstract: Definition of MIME types
+license: perl
+generated_by: ExtUtils::MakeMaker version 6.32
+distribution_type: module
+requires:
Test::More: 0.47
Test::Pod: 1
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.2.html
+ version: 1.2
+author:
+ - Mark Overmeer
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/MIME-Types-1.20/t/20types.t new/MIME-Types-1.21/t/20types.t
--- old/MIME-Types-1.20/t/20types.t 2007-06-08 16:21:22.000000000 +0200
+++ new/MIME-Types-1.21/t/20types.t 2007-09-10 21:18:25.000000000 +0200
@@ -47,7 +47,13 @@
is($p->type, 'image/gif');
my $q = $a->mimeTypeOf('windows.doc');
-is($q->type, 'application/x-msword');
+if($^O eq 'VMS')
+{ # See MIME::Types, OS Exceptions
+ is($q->type, 'text/plain');
+}
+else
+{ is($q->type, 'application/x-msword');
+}
is($a->mimeTypeOf('my.lzh')->type, 'application/octet-stream');
my $warn;
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org