commit d4ae080639130294e89a5ac1b928977b35b1089a Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Mar 19 12:38:30 2012 +0000 Update to 1.443 - Update to 1.443 (#725227) - Correct body_set behavior to handle refs - Reformat changelog to standard PEP format - Completely horrible fix to prevent re-encoding of encoded text during creation - Be compatible with (and require) Email::MIME::Encodings 1.313 - Add test for the stupid parts_set($one_part) cases - Fix license tag - Drop Email::MIME::ContentType version requirement to 1.0 as per upstream - Bump version requirement of Email::MIME::Encodings to 1.313 as per upstream - BR: perl(ExtUtils::MakeMaker) for module build - BR: perl(Test::More) ≥ 0.47 for test suite - Simplify provides filter - Don't use macros for commands - Don't need to remove empty directories from buildroot - Use %{_fixperms} macro rather than our own chmod incantation - Use DESTDIR rather than PERL_INSTALL_ROOT - Make %files list more explicit - Drop %defattr, redundant since rpm 4.4 .gitignore | 2 +- perl-Email-MIME-Modifier.spec | 54 ++++++++++++++++++++++++++-------------- sources | 2 +- 3 files changed, 37 insertions(+), 21 deletions(-) --- diff --git a/.gitignore b/.gitignore index c25da0b..68e67f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Email-MIME-Modifier-1.441.tar.gz +/Email-MIME-Modifier-[0-9.]*.tar.gz diff --git a/perl-Email-MIME-Modifier.spec b/perl-Email-MIME-Modifier.spec index 0557902..80f1225 100644 --- a/perl-Email-MIME-Modifier.spec +++ b/perl-Email-MIME-Modifier.spec @@ -1,23 +1,25 @@ Name: perl-Email-MIME-Modifier -Version: 1.441 +Version: 1.444 Release: 1%{?dist} Summary: Modify Email::MIME Objects Easily Group: Development/Libraries -License: GPL or Artistic +License: GPL+ or Artistic URL: http://search.cpan.org/dist/Email-MIME-Modifier/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Email-MIME-Modifier-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Email::MessageID) >= 1.2 BuildRequires: perl(Email::MIME) >= 1.82 -BuildRequires: perl(Email::MIME::Encodings) >= 1.3 -BuildRequires: perl(Email::MIME::ContentType) >= 1.011 +BuildRequires: perl(Email::MIME::ContentType) >= 1.0 +BuildRequires: perl(Email::MIME::Encodings) >= 1.313 BuildRequires: perl(Email::Simple) >= 1.92 +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(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description Provides a number of useful methods for manipulating MIME messages. @@ -29,25 +31,20 @@ with "Email::MIME" objects. %setup -q -n Email-MIME-Modifier-%{version} # Provides: filter perl(Email::MIME) -cat <<__EOF__ > %{name}-filterprovides -#!/bin/sh -/usr/lib/rpm/perl.prov \$* | grep -v 'perl(Email::MIME)' -__EOF__ -%define __perl_provides %{_builddir}/Email-MIME-Modifier-%{version}/%{name}-filterprovides -chmod +x %{__perl_provides} +%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 'perl(Email::MIME)'" +%define __perl_provides %{provfilt} %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 -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check @@ -59,13 +56,32 @@ rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Email/MIME/ -%{_mandir}/man3/*.3pm* - +%{_mandir}/man3/Email::MIME::Modifier.3pm* %changelog +* Mon Mar 19 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.444-1 +- Update to 1.443 (#725227) + - Correct body_set behavior to handle refs + - Reformat changelog to standard PEP format + - Completely horrible fix to prevent re-encoding of encoded text during + creation + - Be compatible with (and require) Email::MIME::Encodings 1.313 + - Add test for the stupid parts_set($one_part) cases +- Fix license tag +- Drop Email::MIME::ContentType version requirement to 1.0 as per upstream +- Bump version requirement of Email::MIME::Encodings to 1.313 as per upstream +- BR: perl(ExtUtils::MakeMaker) for module build +- BR: perl(Test::More) ≥ 0.47 for test suite +- Simplify provides filter +- Don't use macros for commands +- Don't need to remove empty directories from buildroot +- Use %%{_fixperms} macro rather than our own chmod incantation +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Make %%files list more explicit +- Drop %%defattr, redundant since rpm 4.4 + * Fri Dec 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.441-1 - Update to 1.441. diff --git a/sources b/sources index ba0d4c3..272b566 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f89e766c015641fbffdd73a99cde2db Email-MIME-Modifier-1.441.tar.gz +3f75aad8a6683a23075ced1ed0eb41e4 Email-MIME-Modifier-1.444.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