[perl-Email-MIME] Update to 1.923
Paul Howarth
pghmcfc at fedoraproject.org
Fri Aug 9 11:07:21 UTC 2013
commit 91b1546387540e9b749be8de5faf9d4e524ec3f9
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Aug 9 12:02:17 2013 +0100
Update to 1.923
- New upsteram release 1.923
- Repackage, remove PEP links, update bugtracker
- Try to encode headers based on the header structure, if it has one, rather
than treating the header as a big string in all cases
- Do not call parts_set during walk_parts unless the parts have actually
changed
- When trying to decode a body, fall back to 7bit if the encoding is unknown;
trying to create a new body in an unknown encoding is still forbidden
- Avoid undefined warnings in debug_structure (CPAN RT#82388)
- Better error message when the given body is a ref but not a scalar
(CPAN RT#59205)
- Do not consider the part-ending CRLF part of the body
- Update build-reqs as per upstream requirements
- Explicitly run the release tests
- Drop %defattr, redundant since rpm 4.4
- Don't need to remove empty directories from the buildroot
- Classify build-reqs by usage
.gitignore | 2 +-
perl-Email-MIME.spec | 61 ++++++++++++++++++++++++++++++++++++++++---------
sources | 2 +-
3 files changed, 51 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e6a7fcf..b8cd8e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Email-MIME-1.911.tar.gz
+/Email-MIME-[0-9.]*.tar.gz
diff --git a/perl-Email-MIME.spec b/perl-Email-MIME.spec
index edab464..a3d5c30 100644
--- a/perl-Email-MIME.spec
+++ b/perl-Email-MIME.spec
@@ -1,6 +1,6 @@
Name: perl-Email-MIME
-Version: 1.911
-Release: 3%{?dist}
+Version: 1.923
+Release: 1%{?dist}
Summary: Easy MIME message parsing
Group: Development/Libraries
@@ -9,18 +9,36 @@ URL: http://search.cpan.org/dist/Email-MIME/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(Email::Date::Format)
-BuildRequires: perl(Email::MIME::ContentType) >= 1.011
-BuildRequires: perl(Email::MIME::Encodings) >= 1.313
+# Module Build
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+# Module Runtime
+BuildRequires: perl(Carp)
+BuildRequires: perl(Email::Address)
BuildRequires: perl(Email::MessageID)
-BuildRequires: perl(Email::Simple) >= 2.004
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Email::MIME::ContentType) >= 1.011
+BuildRequires: perl(Email::MIME::Encodings) >= 1.314
+BuildRequires: perl(Email::Simple) >= 2.102
+BuildRequires: perl(Email::Simple::Creator)
+BuildRequires: perl(Email::Simple::Header)
+BuildRequires: perl(Encode) >= 1.9801
+BuildRequires: perl(MIME::Base64)
BuildRequires: perl(MIME::Types) >= 1.13
-BuildRequires: perl(Test::MinimumVersion)
-BuildRequires: perl(Test::Pod) >= 1.14
-BuildRequires: perl(Test::Pod::Coverage) >= 1.08
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(parent)
+BuildRequires: perl(Scalar::Util)
+# Test Suite
+BuildRequires: perl(blib)
+BuildRequires: perl(Capture::Tiny)
+BuildRequires: perl(Symbol)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(utf8)
+BuildRequires: perl(version) > 0.99
+# Release Tests
+BuildRequires: perl(Test::Pod) >= 1.41
+# Runtime
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Email::Simple::Creator)
Requires: perl(MIME::Types) >= 1.13
+
Obsoletes: perl-Email-MIME-Creator < 1.457
Obsoletes: perl-Email-MIME-Modifier < 1.445
Provides: perl-Email-MIME-Creator = %{version}
@@ -45,12 +63,12 @@ make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
+make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%files
@@ -61,6 +79,25 @@ make test
%changelog
+* Fri Aug 9 2013 Paul Howarth <paul at city-fan.org> - 1.923-1
+- Update to 1.923
+ - Repackage, remove PEP links, update bugtracker
+ - Try to encode headers based on the header structure, if it has one, rather
+ than treating the header as a big string in all cases
+ - Do not call parts_set during walk_parts unless the parts have actually
+ changed
+ - When trying to decode a body, fall back to 7bit if the encoding is unknown;
+ trying to create a new body in an unknown encoding is still forbidden
+ - Avoid undefined warnings in debug_structure (CPAN RT#82388)
+ - Better error message when the given body is a ref but not a scalar
+ (CPAN RT#59205)
+ - Do not consider the part-ending CRLF part of the body
+- Update build-reqs as per upstream requirements
+- Explicitly run the release tests
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- Classify buildreqs by usage
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.911-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index fec12b5..51e66d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-82323a45ba1a3beec649f969f408c078 Email-MIME-1.911.tar.gz
+6e40bc61edc526fc8cbf150bcaa23ede Email-MIME-1.923.tar.gz
More information about the perl-devel
mailing list