8
0

Accepting request 667188 from home:alois:branches:devel:languages:perl

- Fixed shebangs in example scripts

- updated to 3.40
   see /usr/share/doc/packages/perl-Mail-IMAPClient/Changes
  version 3.40: Thu Dec  6 01:44:16 UTC 2018
  	- rt.cpan.org#122373 support IPv6 by using IO::Socket::IP over IO::Socket::INET
  	  [Gilles Lamiral and Mark Overmeer]
  	- rt.cpan.org#127103 flags() undef value as an ARRAY reference on a bogus message
  	  [Gilles Lamiral]
  	- rt.cpan.org#124523 update examples/populate_mailbox.pl timegm usage
  	  [Bernhard M. W.]
  	- t/capability.t: added first set of tests
  	- t/quota.t: minor fix when tests skipped
  
  version 3.39: Fri Feb  3 00:43:00 UTC 2017
  	- rt.cpan.org#115726: uninitialized value via fetch_hash
  	  [Malte Stretz]
  	- rt.cpan.org#119523: better error reporting on failed TLS connections
  	  [Matthew Horsfall]
  	- rt.cpan.org#114904: document noop()
  	  [Glenn Golden]
  	- rt.cpan.org#97718: (redux) never retry DONE
  	  [Laurence Darby]
  	- _imap_command() new doretry => 0|1 option to suppress/allow retry
  	- updated copyright for 2017
  
  version 3.38: Tue Feb  9 02:48:21 UTC 2016
  	- rt.cpan.org#107592: redact credentials via debug if !Showcredentials
  	  [Gilles Lamiral]
  	- rt.cpan.org#110273: failure to quote password values

OBS-URL: https://build.opensuse.org/request/show/667188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Mail-IMAPClient?expand=0&rev=17
This commit is contained in:
Stephan Kulow
2019-01-27 11:02:38 +00:00
committed by Git OBS Bridge
parent 311e7da9f5
commit ebfa5fd84f
5 changed files with 75 additions and 23 deletions

View File

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

View File

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

View File

@@ -9,7 +9,11 @@
# bar.patch: # bar.patch:
#preamble: |- #preamble: |-
# BuildRequires: gcc-c++ # BuildRequires: gcc-c++
#post_prep: |- post_prep: |-
for f in examples/*.pl
do
sed -i 's|^#!/usr/local/bin/perl|%{__perl}|' ${f}
done
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |- #post_install: |-

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Sat Jan 19 13:12:46 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Fixed shebangs in example scripts
-------------------------------------------------------------------
Thu Dec 6 15:51:38 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 3.40
see /usr/share/doc/packages/perl-Mail-IMAPClient/Changes
version 3.40: Thu Dec 6 01:44:16 UTC 2018
- rt.cpan.org#122373 support IPv6 by using IO::Socket::IP over IO::Socket::INET
[Gilles Lamiral and Mark Overmeer]
- rt.cpan.org#127103 flags() undef value as an ARRAY reference on a bogus message
[Gilles Lamiral]
- rt.cpan.org#124523 update examples/populate_mailbox.pl timegm usage
[Bernhard M. W.]
- t/capability.t: added first set of tests
- t/quota.t: minor fix when tests skipped
version 3.39: Fri Feb 3 00:43:00 UTC 2017
- rt.cpan.org#115726: uninitialized value via fetch_hash
[Malte Stretz]
- rt.cpan.org#119523: better error reporting on failed TLS connections
[Matthew Horsfall]
- rt.cpan.org#114904: document noop()
[Glenn Golden]
- rt.cpan.org#97718: (redux) never retry DONE
[Laurence Darby]
- _imap_command() new doretry => 0|1 option to suppress/allow retry
- updated copyright for 2017
version 3.38: Tue Feb 9 02:48:21 UTC 2016
- rt.cpan.org#107592: redact credentials via debug if !Showcredentials
[Gilles Lamiral]
- rt.cpan.org#110273: failure to quote password values
(regression introduced in 3.36 via fix for rt.cpan.org#100601)
[Gilles Lamiral]
- rt.cpan.org#107593: allow getquota("")
- *Quote() now returns qq("") for defined but empty values
- rt.cpan.org#107011: fix folders_hash() docs and usage in is_parent()
[Gilles Lamiral]
- rt.cpan.org#106500: split UID EXPUNGE with a large sequence set
- added t/quota.t and t/lib/MyTest.pm for testing
- updated copyright for 2016
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 13 02:00:05 UTC 2016 - chris@computersalat.de Sun Mar 13 02:00:05 UTC 2016 - chris@computersalat.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Mail-IMAPClient # spec file for package perl-Mail-IMAPClient
# #
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
Name: perl-Mail-IMAPClient Name: perl-Mail-IMAPClient
Version: 3.37 Version: 3.40
Release: 0 Release: 0
%define cpan_name Mail-IMAPClient %define cpan_name Mail-IMAPClient
Summary: An IMAP Client API Summary: An IMAP Client API
License: Artistic-1.0 or GPL-1.0+ License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Mail-IMAPClient/ Url: https://metacpan.org/release/%{cpan_name}
Source0: http://www.cpan.org/authors/id/P/PL/PLOBBES/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml 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(version) >= 0.77
#
BuildRequires: perl(IO::Socket::INET) >= 1.26
BuildRequires: perl(Parse::RecDescent) >= 1.94 BuildRequires: perl(Parse::RecDescent) >= 1.94
Requires: perl(IO::Socket::INET) >= 1.26
Requires: perl(Parse::RecDescent) >= 1.94 Requires: perl(Parse::RecDescent) >= 1.94
%{perl_requires} %{perl_requires}
@@ -43,11 +39,11 @@ This module provides methods implementing the IMAP protocol to support
interacting with IMAP message stores. interacting with IMAP message stores.
The module is used by constructing or instantiating a new IMAPClient object The module is used by constructing or instantiating a new IMAPClient object
via the the /new manpage constructor method. Once the object has been via the new constructor method. Once the object has been instantiated, the
instantiated, the the /connect manpage method is either implicitly or connect method is either implicitly or explicitly called. At that point
explicitly called. At that point methods are available that implement the methods are available that implement the IMAP client commands as specified
IMAP client commands as specified in *RFC3501*. When processing is in *RFC3501*. When processing is complete, the logout object method should
complete, the the /logout manpage object method should be called. be called.
This documentation is not meant to be a replacement for RFC3501 nor any This documentation is not meant to be a replacement for RFC3501 nor any
other IMAP related RFCs. other IMAP related RFCs.
@@ -58,14 +54,19 @@ to refer to the set of folders owned by a specific IMAP id.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644 find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
# fix shebang
for f in examples/*.pl
do
sed -i 's|^#!/usr/local/bin/perl|%{__perl}|' ${f}
done
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install