Automatic update to Mail-Box-3.012.tar.gz #1

Merged
okurz merged 1 commits from cpanmirror/perl-Mail-Box:autoupdate into main 2026-01-08 10:04:16 +01:00
4 changed files with 69 additions and 20 deletions

View File

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

BIN
Mail-Box-4.01.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Dec 14 05:34:23 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 4.10.0 (4.01)
see /usr/share/doc/packages/perl-Mail-Box/ChangeLog
TODO: Mail::Box::Message::new(body_type) not used?
#!!! Mail::Box 3 compatibility is still maintained on github in branch
#!!! maint3, and published. So: you may find newer versions with major
#!!! number 3. Use (at least) version 4 for new developments.
#!!! Convert? See https://github.com/markov2/perl5-Mail-Box/wiki/
version 4.01: Sat 13 Dec 12:13:49 CET 2025
Fixes:
- optional modules -> recommends.
Improvements:
- main page texts.
version 4.00: Thu 11 Dec 14:03:32 CET 2025
Changes:
- use Mail::Box 4 exception model: use Log::Report
- remove SpamAssassin support; not used and out-dated.
version 3.012:
Changes:
- mid-life upgrade project: require minimal Perl version 5.16
- remove deprecated use of Mail::Box::Tie, use ::ARRAY or ::HASH
- rename ::Manager::threads() into ::discoverThreads(). Old name
still supported.
Improvements:
- remove all internal use of bareword file-handles.
- remove all internal use of bareword directory-handles.
- use s///r
- use defined-or
- syntax of tie docs
- remove use of filetest.pm: plays bad with method access()
- replace IO::File by open(my $fh)
-------------------------------------------------------------------
Sun Apr 20 05:34:28 UTC 2025 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Mail-Box
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Mail-Box
Name: perl-Mail-Box
Version: 3.11.0
Version: 4.10.0
Release: 0
# 3.011 -> normalize -> 3.11.0
%define cpan_version 3.011
# 4.01 -> normalize -> 4.10.0
%define cpan_version 4.01
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Complete E-mail handling suite
URL: https://metacpan.org/release/%{cpan_name}
@@ -32,19 +32,25 @@ BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Date::Parse)
BuildRequires: perl(Devel::GlobalDestruction) >= 0.90.0
BuildRequires: perl(Devel::GlobalDestruction) >= 0.90
BuildRequires: perl(File::Remove) >= 0.200
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(Mail::Message) >= 3.13.0
BuildRequires: perl(Mail::Transport) >= 3.3.0
BuildRequires: perl(Object::Realize::Later) >= 0.190
BuildRequires: perl(Log::Report) >= 1.420
BuildRequires: perl(Mail::Message) >= 4.0
BuildRequires: perl(Mail::Transport) >= 4.0
BuildRequires: perl(Object::Realize::Later) >= 4.0
BuildRequires: perl(String::Print) >= 1.10
BuildRequires: perl(Test::More) >= 1
BuildRequires: perl(Test::Pod) >= 1
Requires: perl(Date::Parse)
Requires: perl(Devel::GlobalDestruction) >= 0.90.0
Requires: perl(Devel::GlobalDestruction) >= 0.90
Requires: perl(File::Remove) >= 0.200
Requires: perl(IO::Scalar)
Requires: perl(Mail::Message) >= 3.13.0
Requires: perl(Mail::Transport) >= 3.3.0
Requires: perl(Object::Realize::Later) >= 0.190
Requires: perl(Log::Report) >= 1.420
Requires: perl(Mail::Message) >= 4.0
Requires: perl(Mail::Transport) >= 4.0
Requires: perl(Object::Realize::Later) >= 4.0
Requires: perl(String::Print) >= 1.10
Provides: perl(Mail::Box) = %{version}
Provides: perl(Mail::Box::Collection) = %{version}
Provides: perl(Mail::Box::Dir) = %{version}
@@ -76,7 +82,6 @@ Provides: perl(Mail::Box::Net) = %{version}
Provides: perl(Mail::Box::Net::Message) = %{version}
Provides: perl(Mail::Box::Search) = %{version}
Provides: perl(Mail::Box::Search::Grep) = %{version}
Provides: perl(Mail::Box::Search::SpamAssassin) = %{version}
Provides: perl(Mail::Box::Test) = %{version}
Provides: perl(Mail::Box::Thread::Manager) = %{version}
Provides: perl(Mail::Box::Thread::Node) = %{version}
@@ -87,9 +92,12 @@ Provides: perl(Mail::Message::Body::Delayed) = %{version}
Provides: perl(Mail::Message::Dummy) = %{version}
Provides: perl(Mail::Message::Head::Delayed) = %{version}
Provides: perl(Mail::Message::Head::Subset) = %{version}
Provides: perl(Mail::Message::Wrapper::SpamAssassin) = %{version}
Provides: perl(Mail::Server) = %{version}
%undefine __perllib_provides
Recommends: perl(HTML::FromMail) >= 4.0
Recommends: perl(Mail::Box::IMAP4) >= 4.0
Recommends: perl(Mail::Box::POP3) >= 4.0
Recommends: perl(Mail::Box::Parser::C) >= 4.0
%{perl_requires}
%description
@@ -97,6 +105,11 @@ A Mail::Box::Manager creates 'Mail::Box' objects. But you already knew,
because you started with the Mail::Box-Overview manual page. That page is
obligatory reading, sorry!
*Be aware:* This module versions 4.0 and up is not fully compatible with
older releases: mainly the exception handling has changed. When you need to
upgrade, please read at https://github.com/markov2/perl5-Mail-Box/wiki/.
*Version 3 is still maintained* and may see new releases as well.
'Mail::Box' is the base class for accessing various types of mailboxes
(folders) in a uniform manner. The various folder types vary on how they
store their messages, but when some effort those differences could be
@@ -105,12 +118,13 @@ in one single file, where other store each message in a separate file
within the same directory.
No object in your program will be of type 'Mail::Box': it is only used as
base class for the real folder types. 'Mail::Box' is extended by
base class for the real folder types. 'Mail::Box' is extended by file,
directory, and remote folder types. See Different kinds of folders
Extends "DESCRIPTION" in Mail::Reporter.
%prep
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -125,6 +139,6 @@ make test
%perl_gen_filelist
%files -f %{name}.files
%doc ChangeLog examples MANIFEST.extra README README.md README.todo
%doc ChangeLog examples MANIFEST.extra README.md README.todo
%changelog