[perl-Email-MIME-ContentType] Update to 1.017

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit b1803ca39069ffa4ebec8a879edbdc9e1a38b080
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Sun Aug 11 20:55:20 2013 +0100

    Update to 1.017
    
    - New upstream release 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

 .gitignore                       |    2 +-
 perl-Email-MIME-ContentType.spec |   43 ++++++++++++++++++++++++++++---------
 sources                          |    2 +-
 3 files changed, 34 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0bdf5bd..1dadf7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Email-MIME-ContentType-1.015.tar.gz
+/Email-MIME-ContentType-[0-9.]*.tar.gz
diff --git a/perl-Email-MIME-ContentType.spec b/perl-Email-MIME-ContentType.spec
index 1016984..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:        16%{?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,32 @@ 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@xxxxxxxxxxxx> - 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@xxxxxxxxxxxxxxxxxxxxxxx> - 1.015-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux