Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-MIME-Types for openSUSE:Factory
checked in at 2025-12-20 21:47:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MIME-Types (Old)
and /work/SRC/openSUSE:Factory/.perl-MIME-Types.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MIME-Types"
Sat Dec 20 21:47:05 2025 rev:54 rq:1323805 version:2.300.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MIME-Types/perl-MIME-Types.changes
2025-10-07 18:31:36.505672384 +0200
+++
/work/SRC/openSUSE:Factory/.perl-MIME-Types.new.1928/perl-MIME-Types.changes
2025-12-20 21:49:44.823279155 +0100
@@ -1,0 +2,16 @@
+Tue Dec 9 05:35:59 UTC 2025 - Tina Müller <[email protected]>
+
+- updated to 2.300.0 (2.30)
+ see /usr/share/doc/packages/perl-MIME-Types/ChangeLog
+
+ version 2.30: Mon 8 Dec 20:33:20 CET 2025
+
+ Fixes:
+ - no undef when simplifying illegal type
+ github issue #15 [Todd Richmond]
+
+ Improvements:
+ - add bugtracker to meta
+ - better OO use of attributes.
+
+-------------------------------------------------------------------
Old:
----
MIME-Types-2.29.tar.gz
New:
----
MIME-Types-2.30.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MIME-Types.spec ++++++
--- /var/tmp/diff_new_pack.rGdsLf/_old 2025-12-20 21:49:45.703315589 +0100
+++ /var/tmp/diff_new_pack.rGdsLf/_new 2025-12-20 21:49:45.703315589 +0100
@@ -18,10 +18,10 @@
%define cpan_name MIME-Types
Name: perl-MIME-Types
-Version: 2.290.0
+Version: 2.300.0
Release: 0
-# 2.29 -> normalize -> 2.290.0
-%define cpan_version 2.29
+# 2.30 -> normalize -> 2.300.0
+%define cpan_version 2.30
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Definition of MIME types
URL: https://metacpan.org/release/%{cpan_name}
++++++ MIME-Types-2.29.tar.gz -> MIME-Types-2.30.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/ChangeLog
new/MIME-Types-2.30/ChangeLog
--- old/MIME-Types-2.29/ChangeLog 2025-09-15 12:51:50.000000000 +0200
+++ new/MIME-Types-2.30/ChangeLog 2025-12-08 20:33:30.000000000 +0100
@@ -6,6 +6,16 @@
TODO:
. Add source http://www.ltsw.se/knbase/internet/mime.htp ?
+version 2.30: Mon 8 Dec 20:33:20 CET 2025
+
+ Fixes:
+ - no undef when simplifying illegal type
+ github issue #15 [Todd Richmond]
+
+ Improvements:
+ - add bugtracker to meta
+ - better OO use of attributes.
+
version 2.29: Mon 15 Sep 12:51:21 CEST 2025
Changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/META.json
new/MIME-Types-2.30/META.json
--- old/MIME-Types-2.29/META.json 2025-09-15 12:51:52.000000000 +0200
+++ new/MIME-Types-2.30/META.json 2025-12-08 20:33:31.000000000 +0100
@@ -4,7 +4,7 @@
"Mark Overmeer <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
@@ -40,8 +40,7 @@
"requires" : {
"File::Basename" : "0",
"File::Spec" : "0",
- "List::Util" : "0",
- "Test::More" : "0.47"
+ "List::Util" : "0"
}
},
"test" : {
@@ -53,6 +52,9 @@
},
"release_status" : "stable",
"resources" : {
+ "bugtracker" : {
+ "web" : "https://github.com/markov2/perl5-MIME-Types/issues"
+ },
"homepage" : "http://perl.overmeer.net/CPAN/",
"repository" : {
"type" : "git",
@@ -60,7 +62,7 @@
"web" : "https://github.com/markov2/perl5-MIME-Types"
}
},
- "version" : "2.29",
+ "version" : "2.30",
"x_oodist" : {
"email" : "[email protected]",
"first_year" : 1999,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/META.yml new/MIME-Types-2.30/META.yml
--- old/MIME-Types-2.29/META.yml 2025-09-15 12:51:52.000000000 +0200
+++ new/MIME-Types-2.30/META.yml 2025-12-08 20:33:31.000000000 +0100
@@ -9,7 +9,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.70, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,11 +23,11 @@
File::Basename: '0'
File::Spec: '0'
List::Util: '0'
- Test::More: '0.47'
resources:
+ bugtracker: https://github.com/markov2/perl5-MIME-Types/issues
homepage: http://perl.overmeer.net/CPAN/
repository: https://github.com/markov2/perl5-MIME-Types.git
-version: '2.29'
+version: '2.30'
x_oodist:
email: [email protected]
first_year: 1999
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/Makefile.PL
new/MIME-Types-2.30/Makefile.PL
--- old/MIME-Types-2.29/Makefile.PL 2025-09-15 12:50:39.000000000 +0200
+++ new/MIME-Types-2.30/Makefile.PL 2025-12-08 20:33:30.000000000 +0100
@@ -3,7 +3,7 @@
use 5.016;
# Use command 'oodist' to produce your whole software release.
-my $version = '2.29'; #!!! scanned by bin/collect_types
+my $version = '2.30'; #!!! scanned by bin/collect_types
my $webpages = "../public_html";
my $git = "https://github.com/markov2/perl5-MIME-Types";
my $publish = "../public_html/mime-types";
@@ -47,15 +47,15 @@
],
);
+my %requires = (
+ 'File::Spec' => 0,
+ 'File::Basename' => 0,
+ 'List::Util' => 0,
+);
+
WriteMakefile
NAME => 'MIME::Types',
VERSION => $version,
- PREREQ_PM => {
- 'Test::More' => 0.47,
- 'File::Spec' => 0,
- 'File::Basename' => 0,
- 'List::Util' => 0,
- },
AUTHOR => 'Mark Overmeer <[email protected]>',
ABSTRACT => 'Definition of MIME types',
LICENSE => 'perl_5',
@@ -68,21 +68,27 @@
url => "$git.git",
web => $git,
},
+ bugtracker => {
+ web => "$git/issues",
+ },
homepage => $homepage,
license => [ 'http//dev.perl.org/licenses/' ],
},
prereqs => {
+ runtime => {
+ requires => \%requires,
+ },
develop => {
requires => {
'OODoc' => '3.00',
'File::Slurper' => 0,
- }
+ },
},
test => {
requires => {
'Test::More' => 1.00,
'Test::Pod' => 1.00,
- }
+ },
},
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/README.md
new/MIME-Types-2.30/README.md
--- old/MIME-Types-2.29/README.md 2025-09-15 12:50:39.000000000 +0200
+++ new/MIME-Types-2.30/README.md 2025-12-08 20:33:30.000000000 +0100
@@ -2,9 +2,19 @@
* My extended documentation: <http://perl.overmeer.net/CPAN/>
* Development via GitHub: <https://github.com/markov2/perl5-MIME-Types>
+ * Sponsor me: <https://markov.solutions/sponsor/index-en.html>
* Download from CPAN: <ftp://ftp.cpan.org/pub/CPAN/authors/id/M/MA/MARKOV/>
* Indexed from CPAN: <https://metacpan.org/release/MIME-Types>
+## Installing
+
+On github, you can find the processed version for each release. But the
+better source is CPAN; to get it installed simply run:
+
+```sh
+ cpan -i MIME::Types
+```
+
## Development → Release
Important to know, is that I use an extension on POD to write the manuals.
@@ -19,13 +29,6 @@
Clone from github for the "raw" version. For instance, when you want
to contribute a new feature.
-On github, you can find the processed version for each release. But the
-better source is CPAN; to get it installed simply run:
-
-```sh
- cpan -i MIME::Types
-```
-
## Contributing
When you want to contribute to this module, you do not need to provide
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MIME/Type.pm
new/MIME-Types-2.30/lib/MIME/Type.pm
--- old/MIME-Types-2.29/lib/MIME/Type.pm 2025-09-15 12:51:50.000000000
+0200
+++ new/MIME-Types-2.30/lib/MIME/Type.pm 2025-12-08 20:33:30.000000000
+0100
@@ -1,4 +1,4 @@
-# This code is part of Perl distribution MIME-Types version 2.29.
+# This code is part of Perl distribution MIME-Types version 2.30.
# The POD got stripped from this file by OODoc version 3.05.
# For contributors see file ChangeLog.
@@ -8,13 +8,9 @@
# the same terms as the Perl 5 programming language system itself.
# SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later
-#oodist: *** DO NOT USE THIS VERSION FOR PRODUCTION ***
-#oodist: This file contains OODoc-style documentation which will get stripped
-#oodist: during its release in the distribution. You can use this file for
-#oodist: testing, however the code of this development version may be broken!
package MIME::Type;{
-our $VERSION = '2.29';
+our $VERSION = '2.30';
}
@@ -42,7 +38,6 @@
or croak "ERROR: Type parameter is obligatory.";
$self->{MT_simplified} = $args->{simplified} ||
$self->simplified($type);
-
$self->{MT_extensions} = $args->{extensions} || [];
$self->{MT_encoding}
@@ -62,13 +57,13 @@
sub simplified(;$)
{ my $thing = shift;
- return $thing->{MT_simplified} unless @_;
+ @_ or return $thing->{MT_simplified};
my $mime = shift;
- $mime =~ m!^\s*(?:x\-)?([\w.+-]+)/(?:x\-)?([\w.+-]+)\s*$!i ? lc "$1/$2"
- : $mime eq 'text' ? 'text/plain' # some silly mailers...
- : undef;
+ $mime =~ m!^\s*(?:x\-)?([\w.+-]+)/(?:x\-)?([\w.+-]+)\s*$!i ? lc
"$1/$2"
+ : $mime eq 'text' ? 'text/plain' # some silly mailers...
+ : $mime; # doesn't follow rules, f.i.
one word
}
@@ -81,24 +76,24 @@
#--------------------
-sub mediaType() { $_[0]->{MT_simplified} =~ m!^([\w.-]+)/! ? $1 : undef }
+sub mediaType() { $_[0]->simplified =~ m!^([\w.-]+)/! ? $1 : undef }
sub mainType() { $_[0]->mediaType } # Backwards compatibility
-sub subType() { $_[0]->{MT_simplified} =~ m!/([\w+.-]+)$! ? $1 : undef }
+sub subType() { $_[0]->simplified =~ m!/([\w+.-]+)$! ? $1 : undef }
-sub isRegistered() { lc $_[0]->{MT_type} !~ m{^x\-|/x\-} }
+sub isRegistered() { lc($_[0]->type) !~ m{^x\-|/x\-} }
# http://tools.ietf.org/html/rfc4288#section-3
-sub isVendor() { $_[0]->{MT_simplified} =~ m!/vnd\.! }
-sub isPersonal() { $_[0]->{MT_simplified} =~ m!/prs\.! }
-sub isExperimental() { $_[0]->{MT_simplified} =~ m!/x\.! }
+sub isVendor() { $_[0]->simplified =~ m!/vnd\.! }
+sub isPersonal() { $_[0]->simplified =~ m!/prs\.! }
+sub isExperimental() { $_[0]->simplified =~ m!/x\.! }
-sub isBinary() { $_[0]->{MT_encoding} eq 'base64' }
-sub isText() { $_[0]->{MT_encoding} ne 'base64' }
+sub isBinary() { $_[0]->encoding eq 'base64' }
+sub isText() { $_[0]->encoding ne 'base64' }
*isAscii = \&isText;
@@ -108,7 +103,7 @@
application/pkcs10 application/pkcs7-mime application/pkcs7-signature
text/vCard);
-sub isSignature() { $sigs{ $_[0]->{MT_simplified}} }
+sub isSignature() { $sigs{$_[0]->simplified} }
sub cmp($)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MIME/Type.pod
new/MIME-Types-2.30/lib/MIME/Type.pod
--- old/MIME-Types-2.29/lib/MIME/Type.pod 2025-09-15 12:51:50.000000000
+0200
+++ new/MIME-Types-2.30/lib/MIME/Type.pod 2025-12-08 20:33:30.000000000
+0100
@@ -39,7 +39,7 @@
is required) will result in the type name, the same as
L<type()|MIME::Type/"Attributes">
returns.
-example: use of stringification
+» example: use of stringification
my $mime = MIME::Type->new('text/html');
print "$mime\n"; # explicit stringification
@@ -146,7 +146,7 @@
the C<x-> can disappear. In many cases, we prefer the simplified version
of the type.
-example: results of simplified()
+» example: results of simplified()
my $mime = MIME::Type->new(type => 'x-appl/x-zip');
print $mime->simplified; # 'appl/zip'
@@ -178,14 +178,14 @@
It is hard to extract this information from the IANA registration files
automagically, so is manually maintained.
-example: default charset use
+» example: default charset use
$charset //= $type->defaultCharset // 'utf-8';
=item $obj-E<gt>B<equals>($string|$mime)
-Compare this mime-type object with a STRING or other object. In case of
-a STRING, simplification will take place.
+Compare this mime-type object with a type as C<$string> or other C<$mime>
+type object. In case of a C<$string>, simplification will take place.
=item $obj-E<gt>B<isAscii>()
@@ -249,14 +249,14 @@
When a L<MIME::Type|MIME::Type> object is created, the type itself must be
specified with the C<type> option flag.
-Cast by new()
+Cast by C<new()>
=back
=head1 SEE ALSO
-This module is part of MIME-Types version 2.29,
-built on September 15, 2025. Website: F<http://perl.overmeer.net/CPAN/>
+This module is part of MIME-Types version 2.30,
+built on December 08, 2025. Website: F<http://perl.overmeer.net/CPAN/>
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MIME/Types.pm
new/MIME-Types-2.30/lib/MIME/Types.pm
--- old/MIME-Types-2.29/lib/MIME/Types.pm 2025-09-15 12:51:50.000000000
+0200
+++ new/MIME-Types-2.30/lib/MIME/Types.pm 2025-12-08 20:33:30.000000000
+0100
@@ -1,4 +1,4 @@
-# This code is part of Perl distribution MIME-Types version 2.29.
+# This code is part of Perl distribution MIME-Types version 2.30.
# The POD got stripped from this file by OODoc version 3.05.
# For contributors see file ChangeLog.
@@ -8,13 +8,9 @@
# the same terms as the Perl 5 programming language system itself.
# SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later
-#oodist: *** DO NOT USE THIS VERSION FOR PRODUCTION ***
-#oodist: This file contains OODoc-style documentation which will get stripped
-#oodist: during its release in the distribution. You can use this file for
-#oodist: testing, however the code of this development version may be broken!
package MIME::Types;{
-our $VERSION = '2.29';
+our $VERSION = '2.30';
}
@@ -43,8 +39,8 @@
my $only_complete = $args->{only_complete};
my $only_iana = $args->{only_iana};
- my $db = $ENV{PERL_MIME_TYPE_DB} || $args->{db_file}
- || File::Spec->catfile(dirname(__FILE__), 'types.db');
+ my $db = $ENV{PERL_MIME_TYPE_DB} || $args->{db_file} ||
+ File::Spec->catfile(dirname(__FILE__), 'types.db');
open my $dbh, '<:encoding(utf8)', $db
or die "cannot open type database in $db: $!\n";
@@ -204,7 +200,7 @@
{ $acc =~ s/\s*\;.*//; # remove attributes
my $m = $acc !~ s#/\*$## ? first { $_->equals($acc) } @_
: $acc eq '*' ? $_[0] # $acc eq */*
- : first { $_->mediaType eq $acc } @_;
+ : first { $_->mediaType eq $acc } @_;
return $m if defined $m;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MIME/Types.pod
new/MIME-Types-2.30/lib/MIME/Types.pod
--- old/MIME-Types-2.29/lib/MIME/Types.pod 2025-09-15 12:51:50.000000000
+0200
+++ new/MIME-Types-2.30/lib/MIME/Types.pod 2025-12-08 20:33:30.000000000
+0100
@@ -137,7 +137,7 @@
In that case, the preferred one is taken (for an unclear definition of
preference)
-example: use of mimeTypeOf()
+» example: use of mimeTypeOf()
my $types = MIME::Types->new;
my $mime = $types->mimeTypeOf('gif');
@@ -177,7 +177,7 @@
Ill-formated typenames are ignored. On equal qualities, the order is
kept. See RFC2616 section 14.1
-example:
+» example:
my @types = $types->httpAccept('text/html, application/json;q=0.9');
@@ -192,7 +192,7 @@
selected. When none of these are accepted by the client, this will
return C<undef>. It should result in a 406 server response.
-example:
+» example:
my $accept = $req->header('Accept');
my @have = map $mt->type($_), qw[text/plain text/html];
@@ -204,7 +204,7 @@
and filename, not just the type. If C<$accept> is C<undef>, the first
filename is returned.
-example:
+» example:
use HTTP::Status ':constants';
use File::Glob 'bsd_glob'; # understands blanks in filename
@@ -239,7 +239,7 @@
Like C<mimeTypeOf>, but does not return an C<MIME::Type> object. If the file
+type is unknown, both the returned media type and encoding are empty strings.
-example: use of function by_suffix()
+» example: use of function by_suffix()
use MIME::Types 'by_suffix';
my ($mediatype, $encoding) = by_suffix('image.gif');
@@ -259,8 +259,8 @@
=head1 SEE ALSO
-This module is part of MIME-Types version 2.29,
-built on September 15, 2025. Website: F<http://perl.overmeer.net/CPAN/>
+This module is part of MIME-Types version 2.30,
+built on December 08, 2025. Website: F<http://perl.overmeer.net/CPAN/>
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MojoX/MIME/Types.pm
new/MIME-Types-2.30/lib/MojoX/MIME/Types.pm
--- old/MIME-Types-2.29/lib/MojoX/MIME/Types.pm 2025-09-15 12:51:50.000000000
+0200
+++ new/MIME-Types-2.30/lib/MojoX/MIME/Types.pm 2025-12-08 20:33:30.000000000
+0100
@@ -1,4 +1,4 @@
-# This code is part of Perl distribution MIME-Types version 2.29.
+# This code is part of Perl distribution MIME-Types version 2.30.
# The POD got stripped from this file by OODoc version 3.05.
# For contributors see file ChangeLog.
@@ -8,13 +8,9 @@
# the same terms as the Perl 5 programming language system itself.
# SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later
-#oodist: *** DO NOT USE THIS VERSION FOR PRODUCTION ***
-#oodist: This file contains OODoc-style documentation which will get stripped
-#oodist: during its release in the distribution. You can use this file for
-#oodist: testing, however the code of this development version may be broken!
package MojoX::MIME::Types;{
-our $VERSION = '2.29';
+our $VERSION = '2.30';
}
use Mojo::Base -base;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/MIME-Types-2.29/lib/MojoX/MIME/Types.pod
new/MIME-Types-2.30/lib/MojoX/MIME/Types.pod
--- old/MIME-Types-2.29/lib/MojoX/MIME/Types.pod 2025-09-15
12:51:50.000000000 +0200
+++ new/MIME-Types-2.30/lib/MojoX/MIME/Types.pod 2025-12-08
20:33:30.000000000 +0100
@@ -65,7 +65,7 @@
=back
-example:
+» example:
$app->types(MojoX::MIME::Types->new);
@@ -120,7 +120,7 @@
does not produce extensions. Better use
L<MIME::Types::httpAcceptBest()|MIME::Types/"HTTP support">
or L<MIME::Types::httpAcceptSelect()|MIME::Types/"HTTP support">.
-example:
+» example:
my $exts = $types->detect('application/json;q=9');
my $exts = $types->detect('text/html, application/json;q=9');
@@ -214,8 +214,8 @@
=head1 SEE ALSO
-This module is part of MIME-Types version 2.29,
-built on September 15, 2025. Website: F<http://perl.overmeer.net/CPAN/>
+This module is part of MIME-Types version 2.30,
+built on December 08, 2025. Website: F<http://perl.overmeer.net/CPAN/>
=head1 LICENSE
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.rGdsLf/_old 2025-12-20 21:49:45.899323703 +0100
+++ /var/tmp/diff_new_pack.rGdsLf/_new 2025-12-20 21:49:45.911324200 +0100
@@ -1,6 +1,6 @@
-mtime: 1759776515
-commit: b04342ee3cd2df5dddc918496dfe628c956063ef818b7dab97b175eaae91bb06
+mtime: 1765258559
+commit: 95d8d88532d9d8fa05fc1074c4f4e99738e93b2be0994526714bde2740a61ab8
url: https://src.opensuse.org/perl/perl-MIME-Types.git
-revision: b04342ee3cd2df5dddc918496dfe628c956063ef818b7dab97b175eaae91bb06
+revision: 95d8d88532d9d8fa05fc1074c4f4e99738e93b2be0994526714bde2740a61ab8
projectscmsync: https://src.opensuse.org/perl/_ObsPrj
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2025-12-10 11:07:33.000000000 +0100
@@ -0,0 +1 @@
+.osc