diff --git a/Mail-IMAPClient-3.37.tar.gz b/Mail-IMAPClient-3.37.tar.gz deleted file mode 100644 index ce21054..0000000 --- a/Mail-IMAPClient-3.37.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:481df10e0426938dcf6ae641e8e15098ddaeb44ca247772a27b87278f78ba9f3 -size 188964 diff --git a/Mail-IMAPClient-3.40.tar.gz b/Mail-IMAPClient-3.40.tar.gz new file mode 100644 index 0000000..7a30789 --- /dev/null +++ b/Mail-IMAPClient-3.40.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf8fdd608cf3f05532b1f1581493dc198064a31a39578ecb2e48778ba4c10ed9 +size 191077 diff --git a/cpanspec.yml b/cpanspec.yml index 9b7ec50..62ae0c3 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -9,7 +9,11 @@ # bar.patch: #preamble: |- # 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'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- diff --git a/perl-Mail-IMAPClient.changes b/perl-Mail-IMAPClient.changes index e68ad79..3a9288d 100644 --- a/perl-Mail-IMAPClient.changes +++ b/perl-Mail-IMAPClient.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Sat Jan 19 13:12:46 UTC 2019 - Luigi Baldoni + +- Fixed shebangs in example scripts + +------------------------------------------------------------------- +Thu Dec 6 15:51:38 UTC 2018 - Stephan Kulow + +- 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 diff --git a/perl-Mail-IMAPClient.spec b/perl-Mail-IMAPClient.spec index 721c328..03bd363 100644 --- a/perl-Mail-IMAPClient.spec +++ b/perl-Mail-IMAPClient.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 -Version: 3.37 +Version: 3.40 Release: 0 %define cpan_name Mail-IMAPClient 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 -Url: http://search.cpan.org/dist/Mail-IMAPClient/ -Source0: http://www.cpan.org/authors/id/P/PL/PLOBBES/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(version) >= 0.77 -# -BuildRequires: perl(IO::Socket::INET) >= 1.26 BuildRequires: perl(Parse::RecDescent) >= 1.94 -Requires: perl(IO::Socket::INET) >= 1.26 Requires: perl(Parse::RecDescent) >= 1.94 %{perl_requires} @@ -43,11 +39,11 @@ This module provides methods implementing the IMAP protocol to support interacting with IMAP message stores. The module is used by constructing or instantiating a new IMAPClient object -via the the /new manpage constructor method. Once the object has been -instantiated, the the /connect manpage method is either implicitly or -explicitly called. At that point methods are available that implement the -IMAP client commands as specified in *RFC3501*. When processing is -complete, the the /logout manpage object method should be called. +via the new constructor method. Once the object has been instantiated, the +connect method is either implicitly or explicitly called. At that point +methods are available that implement the IMAP client commands as specified +in *RFC3501*. When processing is complete, the logout object method should +be called. This documentation is not meant to be a replacement for RFC3501 nor any other IMAP related RFCs. @@ -58,14 +54,19 @@ to refer to the set of folders owned by a specific IMAP id. %prep %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 -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install