Accepting request 841493 from devel:languages:perl:autoupdate

- Remove patch fix-tests.patch (not needed anymore)
- updated to 0.920
   see /usr/share/doc/packages/perl-Email-Outlook-Message/CHANGELOG
  0.920   2020-09-11
    - Use the "Internet Code Page" property to set the character set for text and
      HTML bodies (by Olly Betts)
    - Fix typos in comments and docs (by Olly Betts)
    - Update Email::MIME dependency to ensure consistent results
    - Fix wide character handling (by Olly Betts and Matijs van Zuijlen)
    - Fix mbox separators in msgconvert (by Olly Betts)
    - Add back VERSION to supporting modules to avoid upgrade issues

OBS-URL: https://build.opensuse.org/request/show/841493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Outlook-Message?expand=0&rev=3
This commit is contained in:
2020-10-13 11:01:51 +00:00
committed by Git OBS Bridge
parent 9c5e6b690b
commit 0cfbbbf444
6 changed files with 59 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb2b1545e28ceb58817cebde98fcb0142ca1610e6bd5064891d42285ab7f6139
size 33931

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:922202959f789bab73b6ee264007acfb8f543913496fccb6716182e4dae5c380
size 39125

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#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:
#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: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,25 +0,0 @@
Index: Email-Outlook-Message-0.919/t/internals.t
===================================================================
--- Email-Outlook-Message-0.919.orig/t/internals.t
+++ Email-Outlook-Message-0.919/t/internals.t
@@ -63,7 +63,7 @@ sub test_to_email_mime_with_plain_part {
ok(defined $m);
ok(($m->parts) == 1);
is($m->body, "plain");
- is($m->content_type, "text/plain; charset=\"UTF-8\"");
+ is($m->content_type, "text/plain; charset=UTF-8");
}
sub test_to_email_mime_with_html_part {
Index: Email-Outlook-Message-0.919/t/plain_jpeg_attached.t
===================================================================
--- Email-Outlook-Message-0.919.orig/t/plain_jpeg_attached.t
+++ Email-Outlook-Message-0.919/t/plain_jpeg_attached.t
@@ -35,6 +35,6 @@ is(scalar($rtf->subparts), 0, "No sub-pa
my $jpg = $parts[1];
like($jpg->content_type, qr{^image/jpeg}, "Content type should be image/jpeg");
-is($jpg->header("Content-Disposition"), "attachment; filename=\"test.jpg\"", "Testing content disposition");
+is($jpg->header("Content-Disposition"), "attachment; filename=test.jpg", "Testing content disposition");
is(scalar($jpg->subparts), 0, "No sub-parts");
is(length($jpg->body), 7681, "Correct jpeg size");

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Oct 13 10:52:28 UTC 2020 - Tina Müller <tina.mueller@suse.com>
- Remove patch fix-tests.patch (not needed anymore)
-------------------------------------------------------------------
Sat Sep 12 03:11:39 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 0.920
see /usr/share/doc/packages/perl-Email-Outlook-Message/CHANGELOG
0.920 2020-09-11
- Use the "Internet Code Page" property to set the character set for text and
HTML bodies (by Olly Betts)
- Fix typos in comments and docs (by Olly Betts)
- Update Email::MIME dependency to ensure consistent results
- Fix wide character handling (by Olly Betts and Matijs van Zuijlen)
- Fix mbox separators in msgconvert (by Olly Betts)
- Add back VERSION to supporting modules to avoid upgrade issues
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 14 05:41:49 UTC 2020 - Stephan Kulow <coolo@suse.com> Sun Jun 14 05:41:49 UTC 2020 - Stephan Kulow <coolo@suse.com>

View File

@@ -17,7 +17,7 @@
Name: perl-Email-Outlook-Message Name: perl-Email-Outlook-Message
Version: 0.919 Version: 0.920
Release: 0 Release: 0
%define cpan_name Email-Outlook-Message %define cpan_name Email-Outlook-Message
Summary: Read Outlook .msg files Summary: Read Outlook .msg files
@@ -25,12 +25,13 @@ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name} URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MV/MVZ/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/M/MV/MVZ/%{cpan_name}-%{version}.tar.gz
Patch0: fix-tests.patch Source1: cpanspec.yml
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Email::MIME) >= 1.923 BuildRequires: perl(Email::Address)
BuildRequires: perl(Email::MIME) >= 1.949
BuildRequires: perl(Email::MIME::ContentType) >= 1.014 BuildRequires: perl(Email::MIME::ContentType) >= 1.014
BuildRequires: perl(Email::Sender) >= 1.3 BuildRequires: perl(Email::Sender) >= 1.3
BuildRequires: perl(Email::Simple) >= 2.206 BuildRequires: perl(Email::Simple) >= 2.206
@@ -38,7 +39,8 @@ BuildRequires: perl(IO::All)
BuildRequires: perl(IO::String) BuildRequires: perl(IO::String)
BuildRequires: perl(Module::Build) >= 0.380000 BuildRequires: perl(Module::Build) >= 0.380000
BuildRequires: perl(OLE::Storage_Lite) >= 0.14 BuildRequires: perl(OLE::Storage_Lite) >= 0.14
Requires: perl(Email::MIME) >= 1.923 Requires: perl(Email::Address)
Requires: perl(Email::MIME) >= 1.949
Requires: perl(Email::MIME::ContentType) >= 1.014 Requires: perl(Email::MIME::ContentType) >= 1.014
Requires: perl(Email::Sender) >= 1.3 Requires: perl(Email::Sender) >= 1.3
Requires: perl(Email::Simple) >= 2.206 Requires: perl(Email::Simple) >= 2.206
@@ -52,8 +54,7 @@ Parses .msg message files as produced by Microsoft Outlook.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%patch0 -p1 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build %build
perl Build.PL installdirs=vendor perl Build.PL installdirs=vendor