[perl-Email-MIME-ContentType/epel7] 1.017
Tom Callaway
spot at fedoraproject.org
Fri Mar 7 06:18:15 UTC 2014
commit a1a318862961d8b89c27bb9b0e12b6d0abda35d3
Author: Tom Callaway <spot at fedoraproject.org>
Date: Fri Mar 7 01:18:05 2014 -0500
1.017
perl-Email-MIME-ContentType.spec | 49 +++++++++++++++++++++++++++++--------
sources | 2 +-
2 files changed, 39 insertions(+), 12 deletions(-)
---
diff --git a/perl-Email-MIME-ContentType.spec b/perl-Email-MIME-ContentType.spec
index 538d264..95cf0b7 100644
--- a/perl-Email-MIME-ContentType.spec
+++ b/perl-Email-MIME-ContentType.spec
@@ -1,6 +1,6 @@
Name: perl-Email-MIME-ContentType
-Version: 1.015
-Release: 14%{?dist}
+Version: 1.017
+Release: 1%{?dist}
Summary: Parse a MIME Content-Type Header
Group: Development/Libraries
@@ -9,16 +9,27 @@ URL: http://search.cpan.org/dist/Email-MIME-ContentType/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-ContentType-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
+BuildRequires: perl(blib)
+BuildRequires: perl(Capture::Tiny)
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter) >= 5.57
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More) >= 0.96
+BuildRequires: perl(Test::Pod) >= 1.41
+BuildRequires: perl(version) > 0.99
+BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
-This module is responsible for parsing email content type headers
-according to section 5.1 of RFC 2045. It returns a hash as above, with
-entries for the discrete type, the composite type, and a hash of
-attributes.
+This module is responsible for parsing email content type headers according
+to section 5.1 of RFC 2045. It returns a hash with entries for the type, the
+subtype, and a hash of attributes.
+
+For backward compatibility with a really unfortunate misunderstanding of RFC
+2045 by the early implementors of this module, 'discrete' and 'composite' are
+also present in the returned hashref, with the values of 'type' and 'subtype'
+respectively.
%prep
@@ -33,22 +44,38 @@ 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
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Email/
%{_mandir}/man3/*.3pm*
%changelog
+* Sun Aug 11 2013 Paul Howarth <paul at city-fan.org> - 1.017-1
+- Update to 1.017
+ - Correct the longstanding and embarrassing misuse of "discrete" and
+ "composite" to mean "type" and "subtype"; the returned data still contains
+ the wrong old names so your code shouldn't break
+ - Repackage to update bugtracker, repo, etc.
+ - Make $STRICT_PARAMS actually work! (CPAN RT#87460)
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+- Explicitly run the release tests
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.015-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sat Jul 20 2013 Petr Pisar <ppisar at redhat.com> - 1.015-15
+- Perl 5.18 rebuild
+
* Sun Feb 24 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.015-14
- Add BR: perl(ExtUtils::MakeMaker) (Fix FTBFS #914271).
- Modernize spec.
diff --git a/sources b/sources
index ffae28b..fcf9b5f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f098ffed16ccab03a3bd51449eba175f Email-MIME-ContentType-1.015.tar.gz
+b1e241f07b525c427774003274e363fd Email-MIME-ContentType-1.017.tar.gz
More information about the perl-devel
mailing list