From 0cfbbbf4443ecb51e98c4d59407a68a765e0112bc7dd7194196398b747a99444 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 13 Oct 2020 11:01:51 +0000 Subject: [PATCH] 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 --- Email-Outlook-Message-0.919.tar.gz | 3 --- Email-Outlook-Message-0.920.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ fix-tests.patch | 25 ------------------------- perl-Email-Outlook-Message.changes | 21 +++++++++++++++++++++ perl-Email-Outlook-Message.spec | 13 +++++++------ 6 files changed, 59 insertions(+), 34 deletions(-) delete mode 100644 Email-Outlook-Message-0.919.tar.gz create mode 100644 Email-Outlook-Message-0.920.tar.gz create mode 100644 cpanspec.yml delete mode 100644 fix-tests.patch diff --git a/Email-Outlook-Message-0.919.tar.gz b/Email-Outlook-Message-0.919.tar.gz deleted file mode 100644 index d97caa5..0000000 --- a/Email-Outlook-Message-0.919.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb2b1545e28ceb58817cebde98fcb0142ca1610e6bd5064891d42285ab7f6139 -size 33931 diff --git a/Email-Outlook-Message-0.920.tar.gz b/Email-Outlook-Message-0.920.tar.gz new file mode 100644 index 0000000..6366233 --- /dev/null +++ b/Email-Outlook-Message-0.920.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:922202959f789bab73b6ee264007acfb8f543913496fccb6716182e4dae5c380 +size 39125 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -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 diff --git a/fix-tests.patch b/fix-tests.patch deleted file mode 100644 index fcb4983..0000000 --- a/fix-tests.patch +++ /dev/null @@ -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"); diff --git a/perl-Email-Outlook-Message.changes b/perl-Email-Outlook-Message.changes index a7709f3..03e7bb6 100644 --- a/perl-Email-Outlook-Message.changes +++ b/perl-Email-Outlook-Message.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Tue Oct 13 10:52:28 UTC 2020 - Tina Müller + +- Remove patch fix-tests.patch (not needed anymore) + +------------------------------------------------------------------- +Sat Sep 12 03:11:39 UTC 2020 - Tina Müller + +- 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 diff --git a/perl-Email-Outlook-Message.spec b/perl-Email-Outlook-Message.spec index 067c99f..c058910 100644 --- a/perl-Email-Outlook-Message.spec +++ b/perl-Email-Outlook-Message.spec @@ -17,7 +17,7 @@ Name: perl-Email-Outlook-Message -Version: 0.919 +Version: 0.920 Release: 0 %define cpan_name Email-Outlook-Message Summary: Read Outlook .msg files @@ -25,12 +25,13 @@ License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/MV/MVZ/%{cpan_name}-%{version}.tar.gz -Patch0: fix-tests.patch +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl 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::Sender) >= 1.3 BuildRequires: perl(Email::Simple) >= 2.206 @@ -38,7 +39,8 @@ BuildRequires: perl(IO::All) BuildRequires: perl(IO::String) BuildRequires: perl(Module::Build) >= 0.380000 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::Sender) >= 1.3 Requires: perl(Email::Simple) >= 2.206 @@ -52,8 +54,7 @@ Parses .msg message files as produced by Microsoft Outlook. %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Build.PL installdirs=vendor