Hello community, here is the log from the commit of package perl-MIME-Charset for openSUSE:Factory checked in at 2015-04-22 01:07:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-MIME-Charset (Old) and /work/SRC/openSUSE:Factory/.perl-MIME-Charset.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MIME-Charset" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-MIME-Charset/perl-MIME-Charset.changes 2013-11-26 19:26:04.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-MIME-Charset.new/perl-MIME-Charset.changes 2015-04-22 01:07:43.000000000 +0200 @@ -1,0 +2,23 @@ +Tue Apr 14 18:18:46 UTC 2015 - [email protected] + +- updated to 1.012 + see /usr/share/doc/packages/perl-MIME-Charset/Changes + + 1.012 2015-03-28 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * CPAN RT #100839: Malformed JSON in META.json. + + 1.011.3 2014-12-10 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * Use "eval 'require ...'" to import optional encoding modules. + Overridden $SIG{__DIE__} can pass "eval 'use ...'". + * Replace META.yml with META.json. + + 1.011.2 2014-11-27 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * Added module CPAN to configure_require for inc::Test::AutoInstall. + * Added POD2::Base to recommended feature. + * Fix: wrong prototype for _resolve_S(). + * Move repository to github. + +------------------------------------------------------------------- Old: ---- MIME-Charset-1.011.1.tar.gz New: ---- MIME-Charset-1.012.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-MIME-Charset.spec ++++++ --- /var/tmp/diff_new_pack.auryt9/_old 2015-04-22 01:07:44.000000000 +0200 +++ /var/tmp/diff_new_pack.auryt9/_new 2015-04-22 01:07:44.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-MIME-Charset # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: perl-MIME-Charset -Version: 1.011.1 +Version: 1.012 Release: 0 %define cpan_name MIME-Charset Summary: Charset Information for MIME -License: Artistic-1.0 or GPL-1.0+ +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/MIME-Charset/ Source: http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz @@ -29,18 +29,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -#BuildRequires: perl(CPANPLUS::Backend) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(JSON) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(MIME::Charset) -#BuildRequires: perl(MIME::Charset::_Compat) -#BuildRequires: perl(MIME::Charset::Defaults) -#BuildRequires: perl(Module::AutoInstall) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(YAML::Tiny) %{perl_requires} %description ++++++ MIME-Charset-1.011.1.tar.gz -> MIME-Charset-1.012.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/Changes new/MIME-Charset-1.012/Changes --- old/MIME-Charset-1.011.1/Changes 2013-10-07 10:07:31.000000000 +0200 +++ new/MIME-Charset-1.012/Changes 2015-03-28 01:31:57.000000000 +0100 @@ -1,5 +1,22 @@ Revision history for Perl module MIME::Charset. +1.012 2015-03-28 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * CPAN RT #100839: Malformed JSON in META.json. + +1.011.3 2014-12-10 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * Use "eval 'require ...'" to import optional encoding modules. + Overridden $SIG{__DIE__} can pass "eval 'use ...'". + * Replace META.yml with META.json. + +1.011.2 2014-11-27 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> + + * Added module CPAN to configure_require for inc::Test::AutoInstall. + * Added POD2::Base to recommended feature. + * Fix: wrong prototype for _resolve_S(). + * Move repository to github. + 1.011.1 2013-10-07 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> * Fix: "shift_jis-2004" did not depend on Encode::JISX0213 but diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/MANIFEST new/MIME-Charset-1.012/MANIFEST --- old/MIME-Charset-1.011.1/MANIFEST 2013-10-07 10:07:31.000000000 +0200 +++ new/MIME-Charset-1.012/MANIFEST 2014-12-10 04:04:31.000000000 +0100 @@ -19,7 +19,7 @@ lib/POD2/JA/MIME/Charset.pod Makefile.PL MANIFEST This list of files -META.yml +META.json README t/01encode.t t/01ooencode.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/META.json new/MIME-Charset-1.012/META.json --- old/MIME-Charset-1.011.1/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/MIME-Charset-1.012/META.json 2015-03-28 01:27:32.000000000 +0100 @@ -0,0 +1,97 @@ +{ + "abstract" : "Charset Information for MIME", + "author" : [ + "Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>" + ], + "dynamic_config" : 0, + "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 2.120630", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "MIME-Charset", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "optional_features" : { + "ja_extended" : { + "description" : "Extended mappings by Japanese codepages", + "prereqs" : { + "runtime" : { + "requires" : { + "Encode::EUCJPASCII" : "0.02" + } + } + } + }, + "jis2000" : { + "description" : "Additional mappings for JIS X 0213", + "prereqs" : { + "runtime" : { + "requires" : { + "Encode::JISX0213" : "0.03" + } + } + } + }, + "zh_extra" : { + "description" : "Additional mappings for Chinese standards", + "prereqs" : { + "runtime" : { + "requires" : { + "Encode::HanExtra" : "0.20" + } + } + } + }, + "pod2" : { + "description" : "Support for POD2 - translations of Perl documentation", + "prereqs" : { + "runtime" : { + "requires" : { + "POD2::Base" : "0.041" + } + } + } + } + }, + "prereqs" : { + "build" : { + "requires" : { + "CPAN" : "0", + "ExtUtils::MakeMaker" : "6.42", + "Test::More" : "0" + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "0" + } + }, + "runtime" : { + "requires" : { + "Encode" : "1.98", + "perl" : "5.005" + } + } + }, + "provides" : { + "MIME::Charset" : { + "file" : "lib/MIME/Charset.pm", + "version" : "1.012" + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "url" : "https://github.com/hatukanezumi/MIME-Charset.git" + } + }, + "version" : "1.012" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/META.yml new/MIME-Charset-1.012/META.yml --- old/MIME-Charset-1.011.1/META.yml 2013-10-07 10:07:31.000000000 +0200 +++ new/MIME-Charset-1.012/META.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,37 +0,0 @@ ---- #YAML:1.0 -name: MIME-Charset -abstract: Charset Information for MIME -version: 1.011.1 -author: - - Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu> -license: perl -distribution_type: module -requires: - Encode: 1.98 - perl: 5.005 -optional_features: - ja_extended: - description: Extended mappings by Japanese codepages - requires: - Encode::EUCJPASCII: 0.02 - jis2000: - description: Additional mappings for JIS X 0213 - requires: - Encode::JISX0213: 0.03 - zh_extra: - description: Additional mappings for Chinese standards - requires: - Encode::HanExtra: 0.20 -build_requires: - Test::More: 0 -provides: - MIME::Charset: - file: lib/MIME/Charset.pm - version: 1.011.1 -resources: - repository: http://hatuka.nezumi.nu/repos/MIME-Charset/ -meta-spec: - version: 1.3 - url: http://module-build.sourceforge.net/META-spec-v1.3.html -generated_by: author - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/Makefile.PL new/MIME-Charset-1.012/Makefile.PL --- old/MIME-Charset-1.011.1/Makefile.PL 2013-10-07 10:07:31.000000000 +0200 +++ new/MIME-Charset-1.012/Makefile.PL 2013-10-30 04:03:10.000000000 +0100 @@ -8,6 +8,7 @@ check_nmake; # Specific dependencies +configure_requires 'CPAN' => 0; # for inc::Module::AutoInstall test_requires 'Test::More' => '0'; if ( $] >= 5.007003 ) { requires 'Encode' => '1.98'; @@ -21,6 +22,9 @@ feature 'Additional mappings for Chinese standards', -default => 0, 'Encode::HanExtra' => '0.20'; + feature 'Support for POD2 - translations of Perl documentation', + -default => 0, + 'POD2::Base' => '0.041'; } # Write out diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MIME-Charset-1.011.1/lib/MIME/Charset.pm new/MIME-Charset-1.012/lib/MIME/Charset.pm --- old/MIME-Charset-1.011.1/lib/MIME/Charset.pm 2013-10-07 10:07:31.000000000 +0200 +++ new/MIME-Charset-1.012/lib/MIME/Charset.pm 2015-03-28 01:28:21.000000000 +0100 @@ -132,7 +132,7 @@ } } -$VERSION = '1.011.1'; +$VERSION = '1.012'; ######## Private Attributes ######## @@ -460,8 +460,7 @@ foreach my $s (@{$spec}) { ($name, $module) = @{$s}; if ($module) { - eval "use $module;"; - next if $@; + next unless eval "require $module;"; } $encoder = Encode::find_encoding($name); last if ref $encoder; @@ -830,7 +829,7 @@ length($s) + scalar(@o) * 2; } -sub _resolve_S($) { +sub _resolve_S($;$) { my $s = shift; my $in_body = shift; my $e;
