diff --git a/.cvsignore b/.cvsignore index d3582f5..1296045 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -MailTools-1.74.tar.gz +MailTools-1.76.tar.gz diff --git a/perl-MailTools.spec b/perl-MailTools.spec index c4dda52..703202e 100644 --- a/perl-MailTools.spec +++ b/perl-MailTools.spec @@ -1,7 +1,7 @@ Summary: Various mail-related perl modules Name: perl-MailTools -Version: 1.74 -Release: 4%{?dist} +Version: 1.76 +Release: 1%{?dist} License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MailTools/ @@ -9,19 +9,22 @@ Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-%{v Patch0: perl-MailTools-1.74-CPAN-20726.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Net::Domain) -BuildRequires: perl(Net::SMTP) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -%if 0%{?fedora} > 6 -BuildRequires: perl-devel -%endif +BuildRequires: perl(Net::Domain), perl(Net::SMTP), perl(ExtUtils::MakeMaker) %description MailTools is a set of Perl modules related to mail applications. %prep %setup -q -n MailTools-%{version} + +# This patch addresses CPAN RT#20726 (http://rt.cpan.org/Public/Bug/Display.html?id=20726) +# which is about handling filenames with trailing spaces. This patch has been rejected +# upstream because it raises the minimum perl version required to 5.6.1, which upstream +# considers to be "too recent". However, given that all distributions supported by this +# package have at least perl 5.8.0, it's not a problem for us. %patch0 -p0 + # Set up example scripts cd examples for file in *.PL @@ -59,6 +62,11 @@ cd - %{_mandir}/man3/Mail::*.3pm* %changelog +* Tue Apr 10 2007 Paul Howarth 1.76-1 +- Update to 1.76 +- Add comment text about the patch for fixing CPAN RT#20726 +- BuildRequire perl(ExtUtils::MakeMaker) rather than perl-devel + * Thu Mar 8 2007 Paul Howarth 1.74-4 - Buildrequire perl-devel for Fedora 7 onwards - Fix argument order for find with -depth diff --git a/sources b/sources index 06b5bf4..59b5bfa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aba82a7eb87906278d98174e10d838be MailTools-1.74.tar.gz +dedc97c82aa86f643a59a6302f6db5db MailTools-1.76.tar.gz