commit e048d90d3659e787fda0d94d0151234655d1fdaa Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Mar 19 16:30:40 2012 +0000 Update to 1.202 - Update to 1.202 - Fix test suite to handle line endings properly - One buildreq per line for readability - Add module version requirements from META.yml - Drop redundant buildreqs perl(Email::Date), perl(Email::Simple) and perl(Email::Simple::Creator) - Package Changes file - 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 | 1 + perl-Email-Reply.spec | 48 +++++++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 35 insertions(+), 16 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0664c08 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Email-Reply-[0-9.]*.tar.gz diff --git a/perl-Email-Reply.spec b/perl-Email-Reply.spec index 41b633a..5ae858e 100644 --- a/perl-Email-Reply.spec +++ b/perl-Email-Reply.spec @@ -1,18 +1,23 @@ Name: perl-Email-Reply -Version: 1.201 -Release: 3%{?dist} +Version: 1.202 +Release: 1%{?dist} Summary: Reply to an email message Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Email-Reply/ Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Reply-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: perl(ExtUtils::MakeMaker), perl(Email::Abstract), perl(Email::Address) -BuildRequires: perl(Email::MIME), perl(Test::More), perl(Email::MIME::Creator) -BuildRequires: perl(Email::MIME::Modifier), perl(Test::Pod), perl(Test::Pod::Coverage) -BuildRequires: perl(Email::Simple), perl(Email::Simple::Creator), perl(Email::Date) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: perl(Email::Abstract) >= 2.01 +BuildRequires: perl(Email::Address) >= 1.80 +BuildRequires: perl(Email::MIME) >= 1.82 +BuildRequires: perl(Email::MIME::Creator) >= 1.41 +BuildRequires: perl(Email::MIME::Modifier) >= 1.42 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) BuildArch: noarch -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description This package provides a simple way to reply to email messages. @@ -22,15 +27,14 @@ This package provides a simple way to reply to email messages. %build sed -i '/LICENSE/ d' Makefile.PL -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %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 make test @@ -39,12 +43,26 @@ make test rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) -%doc README LICENSE +%doc Changes README LICENSE %{perl_vendorlib}/Email/ -%{_mandir}/man3/*.3* +%{_mandir}/man3/Email::Reply.3pm* %changelog +* Mon Mar 19 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 1.202-1 +- update to 1.202 + - fix test suite to handle line endings properly +- one buildreq per line for readability +- add module version requirements from META.yml +- drop redundant buildreqs perl(Email::Date), perl(Email::Simple) and + perl(Email::Simple::Creator) +- package Changes file +- 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 May 4 2007 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 1.201-3 - fix missing BR diff --git a/sources b/sources index d70441e..fe94b78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ea39a4a73d0b8cc54a28d6e84327413e Email-Reply-1.201.tar.gz +a1d1758016232c98e4119b653d7e1421 Email-Reply-1.202.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