>From 59fe9995582802858415e8967b2c4573aa121bd3 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 23 Apr 2015 13:56:03 +0100
Subject: Update to 5.506

- New upstream release 5.506
  - Update maintainer's name to "Dianne Skoll"
- Use %license where possible
- Update UTF8 patch
- Classify buildreqs by usage

diff --git a/MIME-tools-5.502-UTF8.patch b/MIME-tools-5.502-UTF8.patch
deleted file mode 100644
index c5d1871..0000000
--- a/MIME-tools-5.502-UTF8.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- MIME-tools/ChangeLog
-+++ MIME-tools/ChangeLog
-@@ -213,7 +213,7 @@
-       * Added MIME::Parser->decode_bodies method.  This lets you force
-       MIME::Tools to store body parts WITHOUT decoding them.  Useful
-       if you need the exact unmangled message source (for example,
--      for GPG-signing.)  Patch submitted by J�rn Reder.
-+      for GPG-signing.)  Patch submitted by Jörn Reder.
- 
- 5.418     2005-09-29  David F. Skoll  <d...@roaringpenguin.com>
- 
diff --git a/MIME-tools-5.506-UTF8.patch b/MIME-tools-5.506-UTF8.patch
new file mode 100644
index 0000000..4420d95
--- /dev/null
+++ b/MIME-tools-5.506-UTF8.patch
@@ -0,0 +1,11 @@
+--- ChangeLog
++++ ChangeLog
+@@ -287,7 +287,7 @@
+       * Added MIME::Parser->decode_bodies method.  This lets you force
+       MIME::Tools to store body parts WITHOUT decoding them.  Useful
+       if you need the exact unmangled message source (for example,
+-      for GPG-signing.)  Patch submitted by J�rn Reder.
++      for GPG-signing.)  Patch submitted by Jörn Reder.
+ 
+ 5.418     2005-09-29  Dianne Skoll  <d...@roaringpenguin.com>
+ 
diff --git a/perl-MIME-tools.spec b/perl-MIME-tools.spec
index fa26dd6..2e2bd53 100644
--- a/perl-MIME-tools.spec
+++ b/perl-MIME-tools.spec
@@ -1,30 +1,46 @@
 Summary:       Modules for parsing and creating MIME entities in Perl
 Name:          perl-MIME-tools
-Version:       5.505
-Release:       3%{?dist}
+Version:       5.506
+Release:       1%{?dist}
 Group:         Development/Libraries
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/MIME-tools/
 Source0:       
http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/MIME-tools-%{version}.tar.gz
-Patch0:                MIME-tools-5.502-UTF8.patch
+Patch0:                MIME-tools-5.506-UTF8.patch
+BuildArch:     noarch
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# ================ Module Build ======================
+BuildRequires: perl
 BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Pod::Man)
+# ================ Module Runtime ====================
+BuildRequires: perl-MailTools          >= 1.50
+BuildRequires: perl(Carp)
+BuildRequires: perl(Convert::BinHex)
+BuildRequires: perl(Encode)
+BuildRequires: perl(Exporter)
 BuildRequires: perl(File::Path)        >= 1
 BuildRequires: perl(File::Spec)        >= 0.6
 BuildRequires: perl(File::Temp)        >= 0.18
 BuildRequires: perl(IO::File)          >= 1.13
 BuildRequires: perl(IO::Handle)
+BuildRequires: perl(IO::Select)
 BuildRequires: perl(Mail::Field)       >= 1.05
-BuildRequires: perl(Mail::Header)      >= 1.01
-BuildRequires: perl(Mail::Internet)    >= 1.0203
+BuildRequires: perl(Mail::Header)      >= 1.06
+BuildRequires: perl(Mail::Internet)    >= 1.28
 BuildRequires: perl(MIME::Base64)      >= 3.03
 BuildRequires: perl(MIME::QuotedPrint)
-BuildRequires: perl-MailTools          >= 1.50
+# ================ Test Suite ========================
+BuildRequires: perl(Cwd)
+BuildRequires: perl(Digest::MD5)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(IO::Socket::INET)
+BuildRequires: perl(lib)
 BuildRequires: perl(Test::Deep)
 BuildRequires: perl(Test::More)
 BuildRequires: perl(Test::Pod)
 BuildRequires: perl(Test::Pod::Coverage)
-BuildArch:     noarch
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+# ================ Module Runtime ====================
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:      perl(Convert::BinHex)
 
@@ -42,7 +58,7 @@ parser and tool for building your own MIME parser, and 
utilities.
 %setup -q -n MIME-tools-%{version}
 
 # Fix character encoding
-%patch0 -p1
+%patch0
 
 # The more useful examples will go in %%{_bindir}
 mkdir useful-examples
@@ -77,7 +93,12 @@ TEST_POD_COVERAGE=0 make test
 rm -rf %{buildroot}
 
 %files
-%doc README COPYING ChangeLog
+%if 0%{?_licensedir:1}
+%license COPYING
+%else
+%doc COPYING
+%endif
+%doc README ChangeLog
 # Adding examples introduces additional deps, but these are all satisfied by
 # perl, perl-MIME-tools, and perl-MailTools, which are all deps anyway.
 %doc examples
@@ -92,30 +113,37 @@ rm -rf %{buildroot}
 %{_mandir}/man1/mimeexplode.1*
 %{_mandir}/man1/mimepostcard.1*
 %{_mandir}/man1/mimesend.1*
-%{_mandir}/man3/MIME::Body.3pm*
-%{_mandir}/man3/MIME::Decoder.3pm*
-%{_mandir}/man3/MIME::Decoder::Base64.3pm*
-%{_mandir}/man3/MIME::Decoder::BinHex.3pm*
-%{_mandir}/man3/MIME::Decoder::Binary.3pm*
-%{_mandir}/man3/MIME::Decoder::Gzip64.3pm*
-%{_mandir}/man3/MIME::Decoder::NBit.3pm*
-%{_mandir}/man3/MIME::Decoder::QuotedPrint.3pm*
-%{_mandir}/man3/MIME::Decoder::UU.3pm*
-%{_mandir}/man3/MIME::Entity.3pm*
-%{_mandir}/man3/MIME::Field::ConTraEnc.3pm*
-%{_mandir}/man3/MIME::Field::ContDisp.3pm*
-%{_mandir}/man3/MIME::Field::ContType.3pm*
-%{_mandir}/man3/MIME::Field::ParamVal.3pm*
-%{_mandir}/man3/MIME::Head.3pm*
-%{_mandir}/man3/MIME::Parser.3pm*
-%{_mandir}/man3/MIME::Parser::Filer.3pm*
-%{_mandir}/man3/MIME::Parser::Reader.3pm*
-%{_mandir}/man3/MIME::Parser::Results.3pm*
-%{_mandir}/man3/MIME::Tools.3pm*
-%{_mandir}/man3/MIME::WordDecoder.3pm*
-%{_mandir}/man3/MIME::Words.3pm*
+%{_mandir}/man3/MIME::Body.3*
+%{_mandir}/man3/MIME::Decoder.3*
+%{_mandir}/man3/MIME::Decoder::Base64.3*
+%{_mandir}/man3/MIME::Decoder::BinHex.3*
+%{_mandir}/man3/MIME::Decoder::Binary.3*
+%{_mandir}/man3/MIME::Decoder::Gzip64.3*
+%{_mandir}/man3/MIME::Decoder::NBit.3*
+%{_mandir}/man3/MIME::Decoder::QuotedPrint.3*
+%{_mandir}/man3/MIME::Decoder::UU.3*
+%{_mandir}/man3/MIME::Entity.3*
+%{_mandir}/man3/MIME::Field::ConTraEnc.3*
+%{_mandir}/man3/MIME::Field::ContDisp.3*
+%{_mandir}/man3/MIME::Field::ContType.3*
+%{_mandir}/man3/MIME::Field::ParamVal.3*
+%{_mandir}/man3/MIME::Head.3*
+%{_mandir}/man3/MIME::Parser.3*
+%{_mandir}/man3/MIME::Parser::Filer.3*
+%{_mandir}/man3/MIME::Parser::Reader.3*
+%{_mandir}/man3/MIME::Parser::Results.3*
+%{_mandir}/man3/MIME::Tools.3*
+%{_mandir}/man3/MIME::WordDecoder.3*
+%{_mandir}/man3/MIME::Words.3*
 
 %changelog
+* Thu Apr 23 2015 Paul Howarth <p...@city-fan.org> - 5.506-1
+- Update to 5.506
+  - Update maintainer's name to "Dianne Skoll"
+- Use %%license where possible
+- Update UTF8 patch
+- Classify buildreqs by usage
+
 * Thu Aug 28 2014 Jitka Plesnikova <jples...@redhat.com> - 5.505-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index cf4ed54..cb4afc3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7706e1f592d3f57981a7f7baaf9277a0  MIME-tools-5.505.tar.gz
+ddc8479d25688f8860d0bf3be9df52c5  MIME-tools-5.506.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-MIME-tools.git/commit/?h=perl-MIME-tools-5.506-1.fc22&id=59fe9995582802858415e8967b2c4573aa121bd3
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to