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

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Mail-Box:autoupdate into main
4 changed files with 58 additions and 19 deletions

View File

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

BIN
Mail-Box-3.012.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Fri Nov 28 05:34:24 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 3.12.0 (3.012)
see /usr/share/doc/packages/perl-Mail-Box/ChangeLog
TODO: Mail::Box::Message::new(body_type) not used?
#!!! This is the maintenance version of this module. When you start fresh,
#!!! go for version 4 (or higher). On github, this code is branch 'maint3'
#!!! Convert? See F<https://github.com/markov2/perl5-Mail-Box/wiki/>
version 3.012: Thu 27 Nov 14:16:04 CET 2025
Changes:
- maintenance release with Mail::Box version 3 compatibility.
- 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: 3.12.0
Release: 0
# 3.011 -> normalize -> 3.11.0
%define cpan_version 3.011
# 3.012 -> normalize -> 3.12.0
%define cpan_version 3.012
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Complete E-mail handling suite
URL: https://metacpan.org/release/%{cpan_name}
@@ -29,22 +29,30 @@ Source0: https://cpan.metacpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: 0.19, < 4.0
BuildRequires: 3.003, < 4.0
BuildRequires: 3.013, < 4.0
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(Mail::Message) >= >=
BuildRequires: perl(Mail::Transport) >= >=
BuildRequires: perl(Object::Realize::Later) >= >=
BuildRequires: perl(Test::More) >= 1
BuildRequires: perl(Test::Pod) >= 1
Requires: 0.19, < 4.0
Requires: 3.003, < 4.0
Requires: 3.013, < 4.0
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(Mail::Message) >= >=
Requires: perl(Mail::Transport) >= >=
Requires: perl(Object::Realize::Later) >= >=
Provides: perl(Mail::Box) = %{version}
Provides: perl(Mail::Box::Collection) = %{version}
Provides: perl(Mail::Box::Dir) = %{version}
@@ -95,7 +103,11 @@ Provides: perl(Mail::Server) = %{version}
%description
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!
*obligatory reading*, sorry!
*This is a maintenance release for the old interface*. Read
_https://github.com/markov2/perl5-Mail-Box/wiki/_ how to move towards
version 4.
'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
@@ -105,12 +117,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. See Mail::Box::Mbox, Mail::Box::MH,
Mail::Box::IMAP4, etc.
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 +138,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