[perl-Email-MIME/el5] Update to 1.863
Paul Howarth
pghmcfc at fedoraproject.org
Mon Mar 19 12:26:43 UTC 2012
commit b8a4befaef47103f990d7c15a447125b0e309ea7
Author: Paul Howarth <paul at city-fan.org>
Date: Mon Mar 19 11:40:47 2012 +0000
Update to 1.863
- Update to 1.863 (#725225)
- We now require Email::Simple 2.004
- Always require Encode, never MIME::Words
- If a header can't be decoded, fall back to the raw header
- Move decoding methods to Email::MIME::Header, add header_raw
- Test suite enhancements
- Add repository location metadata
- Add strangely missing copyright information
- BR: perl(base), perl(Carp) and perl(Encode) ≥ 1.9801 for module
- BR: perl(Test::More) ≥ 0.47 for test suite
- Upstream source has been archived on backpan
- Fix license tag
- Don't need to remove empty directories from buildroot
- Don't use macros for commands
- Use %{_fixperms} macro rather than our own chmod incantation
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Drop %defattr, redundant since rpm 4.4
.gitignore | 2 +-
perl-Email-MIME.spec | 44 ++++++++++++++++++++++++++++++++------------
sources | 2 +-
3 files changed, 34 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a55b769..b8cd8e3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Email-MIME-1.859.tar.gz
+/Email-MIME-[0-9.]*.tar.gz
diff --git a/perl-Email-MIME.spec b/perl-Email-MIME.spec
index 4426b85..93b8ab9 100644
--- a/perl-Email-MIME.spec
+++ b/perl-Email-MIME.spec
@@ -1,23 +1,26 @@
Name: perl-Email-MIME
-Version: 1.859
+Version: 1.863
Release: 1%{?dist}
Summary: Easy MIME message parsing
Group: Development/Libraries
-License: GPL or Artistic
+License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Email-MIME/
-Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://backpan.perl.org/authors/id/R/RJ/RJBS/Email-MIME-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
BuildRequires: perl(Email::MIME::ContentType) >= 1.011
BuildRequires: perl(Email::MIME::Encodings) >= 1.3
-BuildRequires: perl(Email::Simple) >= 1.995
+BuildRequires: perl(Email::Simple) >= 2.004
+BuildRequires: perl(Encode) >= 1.9801
BuildRequires: perl(MIME::Types) >= 1.13
+BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires: perl(Email::Simple) >= 1.91
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(MIME::Types) >= 1.13
%description
@@ -32,16 +35,15 @@ parts of the message. Headers are decoded from MIME encoding.
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$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/*
+%{_fixperms} $RPM_BUILD_ROOT
%check
@@ -53,13 +55,31 @@ rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/Email/
%{_mandir}/man3/*.3pm*
%changelog
+* Mon Mar 19 2012 Paul Howarth <paul at city-fan.org> - 1.863-1
+- Update to 1.863 (#725225)
+ - We now require Email::Simple 2.004
+ - Always require Encode, never MIME::Words
+ - If a header can't be decoded, fall back to the raw header
+ - Move decoding methods to Email::MIME::Header, add header_raw
+ - Test suite enhancements
+ - Add repository location metadata
+ - Add strangely missing copyright information
+- BR: perl(base), perl(Carp) and perl(Encode) ≥ 1.9801 for module
+- BR: perl(Test::More) ≥ 0.47 for test suite
+- Upstream source has been archived on backpan
+- Fix license tag
+- Don't need to remove empty directories from buildroot
+- Don't use macros for commands
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Drop %%defattr, redundant since rpm 4.4
+
* Fri Mar 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.859-1
- Update to 1.859.
diff --git a/sources b/sources
index a9f529a..fac4a13 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ce6bd828405c8565c84ee0fa405fbecd Email-MIME-1.859.tar.gz
+339b0a09fab042c1f9a6292a220b333d Email-MIME-1.863.tar.gz
More information about the perl-devel
mailing list