[perl-MIME-Types] Update to 2.00

Paul Howarth pghmcfc at fedoraproject.org
Fri Aug 2 20:48:29 UTC 2013


commit 9aef5eab6ab8cdf1f7857586448920d9e1229800
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Aug 2 21:44:49 2013 +0100

    Update to 2.00
    
    - New upstream release 2.00:
      - The mime information is now collected from various sources, amongst them
        IANA; hence, some types may use different x-'s
      - A separate table is built for the extension-to-type mapping
      - Number of types up from 995 to 2096
      - Number of extensions up from 734 to 1425
      - The memory footprint and start-up speed should have improved considerably
      - Added bin/collect_types
      - Fixed some typos (CPAN RT#86847)
      - Added ::Type::isVendor(), ::isExperimental(), ::isPersonal (CPAN RT#87062)
      - Added ::Types::listTypes()
      - Cleaned-up Exporter syntax of (very) old interface
    - BR: perl(base), perl(File::Basename) and perl(File::Spec)
    - Drop no-longer-needed UTF8 patch

 MIME-Types-1.31-utf8.patch |   50 --------------------------------------------
 perl-MIME-Types.spec       |   26 ++++++++++++++++++----
 sources                    |    2 +-
 3 files changed, 22 insertions(+), 56 deletions(-)
---
diff --git a/perl-MIME-Types.spec b/perl-MIME-Types.spec
index 966abb0..2304c81 100644
--- a/perl-MIME-Types.spec
+++ b/perl-MIME-Types.spec
@@ -1,17 +1,19 @@
 Name:           perl-MIME-Types
-Version:        1.38
-Release:        3%{?dist}
+Version:        2.00
+Release:        1%{?dist}
 Summary:        MIME types module for Perl
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/MIME-Types/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-%{version}.tar.gz
-Patch0:         MIME-Types-1.31-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
+BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.00
@@ -28,8 +30,6 @@ add additional information.
 
 %prep
 %setup -q -n MIME-Types-%{version}
-# Recode ChangeLog as UTF-8
-%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -55,6 +55,22 @@ rm -rf %{buildroot}
 %{_mandir}/man3/MIME::Types.3pm*
 
 %changelog
+* Fri Aug  2 2013 Paul Howarth <paul at city-fan.org> - 2.00-1
+- Update to 2.00:
+  - The mime information is now collected from various sources, amongst them
+    IANA; hence, some types may use different x-'s
+  - A separate table is built for the extension-to-type mapping
+  - Number of types up from 995 to 2096
+  - Number of extensions up from 734 to 1425
+  - The memory footprint and start-up speed should have improved considerably
+  - Added bin/collect_types
+  - Fixed some typos (CPAN RT#86847)
+  - Added ::Type::isVendor(), ::isExperimental(), ::isPersonal (CPAN RT#87062)
+  - Added ::Types::listTypes()
+  - Cleaned-up Exporter syntax of (very) old interface
+- BR: perl(base), perl(File::Basename) and perl(File::Spec)
+- Drop no-longer-needed UTF8 patch
+
 * Thu Jul 18 2013 Petr Pisar <ppisar at redhat.com> - 1.38-3
 - Perl 5.18 rebuild
 
diff --git a/sources b/sources
index 722276b..7e9a5b6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-994baebea02be46123cc888da5b32b8d  MIME-Types-1.38.tar.gz
+4f920e7f1630698c323eb6907e0c128e  MIME-Types-2.00.tar.gz



More information about the perl-devel mailing list