Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-MIME-EncWords for 
openSUSE:Factory checked in at 2024-05-15 21:26:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MIME-EncWords (Old)
 and      /work/SRC/openSUSE:Factory/.perl-MIME-EncWords.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-MIME-EncWords"

Wed May 15 21:26:17 2024 rev:13 rq:1173972 version:1.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MIME-EncWords/perl-MIME-EncWords.changes    
2014-09-28 19:54:53.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-MIME-EncWords.new.1880/perl-MIME-EncWords.changes
  2024-05-15 21:26:51.098145650 +0200
@@ -1,0 +2,14 @@
+Tue Feb 13 03:07:23 UTC 2024 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 1.015.0
+   see /usr/share/doc/packages/perl-MIME-EncWords/Changes
+
+  1.015.0 2024-02-12  Hatuka*nezumi - IKEDA Soji  <hat...@nezumi.nu>
+
+      * Fix: Correct specials for DISPNAME mode.
+      * Fix: CPAN RT #116463: Remove . from @INC when loading modules
+        dynamically.
+      * Fix: Suppress "Use of uninitialized value" warnings.
+      * CPAN RT #116465: Fix spelling error in manpage.
+
+-------------------------------------------------------------------

Old:
----
  MIME-EncWords-1.014.3.tar.gz

New:
----
  MIME-EncWords-1.015.0.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-MIME-EncWords.spec ++++++
--- /var/tmp/diff_new_pack.z88ytC/_old  2024-05-15 21:26:51.794170842 +0200
+++ /var/tmp/diff_new_pack.z88ytC/_new  2024-05-15 21:26:51.794170842 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-MIME-EncWords
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,29 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+%define cpan_name MIME-EncWords
 Name:           perl-MIME-EncWords
-Version:        1.014.3
+Version:        1.15.0
 Release:        0
-%define cpan_name MIME-EncWords
-Summary:        deal with RFC 2047 encoded words (improved)
-License:        GPL-1.0+ or Artistic-1.0
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/MIME-EncWords/
-Source:         
http://www.cpan.org/authors/id/N/NE/NEZUMI/MIME-EncWords-%{version}.tar.gz
+# 1.015.0 -> normalize -> 1.15.0
+%define cpan_version 1.015.0
+License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Deal with RFC 2047 encoded words (improved)
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{cpan_version}.tar.gz
+Source1:        cpanspec.yml
+BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(MIME::Charset) >= 1.010.1
-Requires:       perl(Encode) >= 1.98
-Requires:       perl(MIME::Base64) >= 2.13
-Requires:       perl(MIME::Charset) >= 1.010.1
-Recommends:     perl(Unicode::String)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
+BuildRequires:  perl(MIME::Charset) >= 1.10.1
+Requires:       perl(MIME::Charset) >= 1.10.1
+Provides:       perl(Encode::MIME::EncWords) = 0.03
+Provides:       perl(MIME::EncWords) = %{version}
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -71,24 +72,21 @@
       Subject: ???(laziness), ????(impatience), ??(hubris)
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{cpan_version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
-%defattr(644,root,root,755)
-%doc ARTISTIC Changes GPL README
+%doc Changes README
+%license ARTISTIC GPL
 

++++++ MIME-EncWords-1.014.3.tar.gz -> MIME-EncWords-1.015.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/Changes 
new/MIME-EncWords-1.015.0/Changes
--- old/MIME-EncWords-1.014.3/Changes   2014-09-27 07:45:24.000000000 +0200
+++ new/MIME-EncWords-1.015.0/Changes   2024-02-12 09:51:39.000000000 +0100
@@ -1,5 +1,13 @@
 Revision history for Perl module MIME::EncWords
 
+1.015.0 2024-02-12  Hatuka*nezumi - IKEDA Soji  <hat...@nezumi.nu>
+
+    * Fix: Correct specials for DISPNAME mode.
+    * Fix: CPAN RT #116463: Remove . from @INC when loading modules
+      dynamically.
+    * Fix: Suppress "Use of uninitialized value" warnings.
+    * CPAN RT #116465: Fix spelling error in manpage.
+
 1.014.3 2014-09-27  Hatuka*nezumi - IKEDA Soji  <hat...@nezumi.nu>
 
     * Fix: CPAN RT#99160: encode_mimewords() ignores the word "0".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/MANIFEST 
new/MIME-EncWords-1.015.0/MANIFEST
--- old/MIME-EncWords-1.014.3/MANIFEST  2014-09-27 08:02:14.000000000 +0200
+++ new/MIME-EncWords-1.015.0/MANIFEST  2024-02-12 09:56:59.000000000 +0100
@@ -20,7 +20,9 @@
 testin/decode-multibyte.txt
 testin/decode-singlebyte.txt
 testin/encode-ascii.txt
+testin/encode-mb-dispname.txt
 testin/encode-multibyte.txt
+testin/encode-sb-dispname.txt
 testin/encode-singlebyte.txt
 testin/encode-utf-8.txt
 META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/META.json 
new/MIME-EncWords-1.015.0/META.json
--- old/MIME-EncWords-1.014.3/META.json 2014-09-27 08:02:14.000000000 +0200
+++ new/MIME-EncWords-1.015.0/META.json 2024-02-12 09:56:59.000000000 +0100
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter 
version 2.120630",
+   "generated_by" : "ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter 
version 2.120921",
    "license" : [
       "unknown"
    ],
@@ -40,5 +40,5 @@
       }
    },
    "release_status" : "stable",
-   "version" : "v1.014.3"
+   "version" : "v1.015.0"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/META.yml 
new/MIME-EncWords-1.015.0/META.yml
--- old/MIME-EncWords-1.014.3/META.yml  2014-09-27 08:02:14.000000000 +0200
+++ new/MIME-EncWords-1.015.0/META.yml  2024-02-12 09:56:59.000000000 +0100
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 0
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 
2.120630'
+generated_by: 'ExtUtils::MakeMaker version 6.68, CPAN::Meta::Converter version 
2.120921'
 license: unknown
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,4 +22,4 @@
   MIME::Base64: 2.13
   MIME::Charset: v1.10.1
   Test::More: 0
-version: v1.014.3
+version: v1.015.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/lib/MIME/EncWords.pm 
new/MIME-EncWords-1.015.0/lib/MIME/EncWords.pm
--- old/MIME-EncWords-1.014.3/lib/MIME/EncWords.pm      2014-09-27 
07:40:21.000000000 +0200
+++ new/MIME-EncWords-1.015.0/lib/MIME/EncWords.pm      2024-02-12 
09:45:25.000000000 +0100
@@ -131,7 +131,7 @@
 #------------------------------
 
 ### The package version, both in 1.23 style *and* usable by MakeMaker:
-$VERSION = '1.014.3';
+$VERSION = '1.015.0';
 
 ### Public Configuration Attributes
 $Config = {
@@ -143,7 +143,11 @@
     MaxLineLen => 76,
     Minimal => 'YES',
 };
-eval { require MIME::EncWords::Defaults; };
+eval {
+    local @INC = @INC;
+    pop @INC if $INC[-1] eq '.';
+    require MIME::EncWords::Defaults;
+};
 
 ### Private Constants
 
@@ -154,7 +158,7 @@
 my $WIDECHAR = qr{[^\x00-\xFF]};
 my $ASCIITRANS = qr{^(?:HZ-GB-2312|UTF-7)$}i;
 my $ASCIIINCOMPAT = qr{^UTF-(?:16|32)(?:BE|LE)?$}i;
-my $DISPNAMESPECIAL = "\\x22(),:;<>\\x40\\x5C"; # RFC5322 name-addr specials.
+my $DISPNAMESPECIAL = qr{[()<>\[\]:;@\\,."]}; # RFC5322 name-addr specials.
 
 #------------------------------
 
@@ -256,7 +260,7 @@
 to handle multibyte sequences safely.
 
 B<**>
-Language information defined by RFC2231, section 5 will be additonal
+Language information defined by RFC2231, section 5 will be additional
 third element, if any.
 
 B<*>
@@ -746,12 +750,13 @@
     my $UNSAFEASCII = ($maxrestlen <= 1)?
        qr{(?: =\? )}ox:
        qr{(?: =\? | [$PRINTABLE]{$Params{MaxLineLen}} )}x;
-    $UNSAFEASCII = qr{(?: [$DISPNAMESPECIAL] | $UNSAFEASCII )}x
+    $UNSAFEASCII = qr{(?: $DISPNAMESPECIAL | $UNSAFEASCII )}x
        if $Params{Minimal} eq 'DISPNAME';
 
     unless (ref($words) eq "ARRAY") {
        # workaround for UTF-16* & UTF-32*: force UTF-8.
-       if ($charsetobj->as_string =~ /$ASCIIINCOMPAT/) {
+       if ($charsetobj->as_string
+           and $charsetobj->as_string =~ /$ASCIIINCOMPAT/) {
            $words = _utf_to_unicode($charsetobj, $words);
            $charsetobj = MIME::Charset->new('UTF-8');
        }
@@ -772,7 +777,8 @@
 
                # workaround for ``ASCII transformation'' charsets
                my $u = $w;
-               if ($charsetobj->as_string =~ /$ASCIITRANS/) {
+               if ($charsetobj->as_string
+                   and $charsetobj->as_string =~ /$ASCIITRANS/) {
                    if (MIME::Charset::USE_ENCODE) {
                        if (is_utf8($w) or $w =~ /$WIDECHAR/) {
                            $w = $charsetobj->undecode($u);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/t/02encode.t 
new/MIME-EncWords-1.015.0/t/02encode.t
--- old/MIME-EncWords-1.014.3/t/02encode.t      2013-10-29 04:41:37.000000000 
+0100
+++ new/MIME-EncWords-1.015.0/t/02encode.t      2024-02-12 09:32:58.000000000 
+0100
@@ -1,7 +1,7 @@
 use strict;
 use Test;
 
-BEGIN { plan tests => ($] >= 5.007003)? 32: 12 }
+BEGIN { plan tests => ($] >= 5.007003)? 34: 14 }
 
 use MIME::EncWords qw(encode_mimewords);
 $MIME::EncWords::Config = {
@@ -21,8 +21,9 @@
 }
 
 my @testins = MIME::Charset::USE_ENCODE?
-             qw(encode-singlebyte encode-multibyte encode-ascii encode-utf-8):
-             qw(encode-singlebyte);
+             qw(encode-singlebyte encode-multibyte encode-ascii encode-utf-8
+             encode-sb-dispname encode-mb-dispname):
+             qw(encode-singlebyte encode-sb-dispname);
 
 {
   local($/) = '';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/testin/encode-mb-dispname.txt 
new/MIME-EncWords-1.015.0/testin/encode-mb-dispname.txt
--- old/MIME-EncWords-1.014.3/testin/encode-mb-dispname.txt     1970-01-01 
01:00:00.000000000 +0100
+++ new/MIME-EncWords-1.015.0/testin/encode-mb-dispname.txt     2024-02-12 
09:32:58.000000000 +0100
@@ -0,0 +1,4 @@
+GOOD
+('[B 90 / Die Grünen]', Charset => 'UTF-8', Minimal => 'DISPNAME')
+=?UTF-8?Q?=5BB?= 90 / Die =?UTF-8?Q?Gr=C3=BCnen=5D?=
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MIME-EncWords-1.014.3/testin/encode-sb-dispname.txt 
new/MIME-EncWords-1.015.0/testin/encode-sb-dispname.txt
--- old/MIME-EncWords-1.014.3/testin/encode-sb-dispname.txt     1970-01-01 
01:00:00.000000000 +0100
+++ new/MIME-EncWords-1.015.0/testin/encode-sb-dispname.txt     2024-02-12 
09:32:58.000000000 +0100
@@ -0,0 +1,4 @@
+GOOD
+('[B 90 / Die Gruenen]', Charset => '', Minimal => 'DISPNAME')
+=?US-ASCII?Q?=5BB?= 90 / Die =?US-ASCII?Q?Gruenen=5D?=
+

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#  baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: Artistic-1.0 or GPL-1.0-or-later
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section

Reply via email to