[perl-Email-Simple/el5] Update to 2.005

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 60de5a0aec742b68f2dc9a09e4556d66b909318e
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Mon Mar 19 11:04:56 2012 +0000

    Update to 2.005
    
    - Update to 2.005, needed for perl-Email-MIME (#725225)
      - Huge improvement to speed of bodyless message parsing
      - More documentation of header class
      - New Header crlf defaults to real CRLF
      - Change initialization order to unbreak Email::MIME
      - Do not return ->body from ->body_set to simplify subclass behavior
      - Improve tests
      - Publicize default_header_class method
      - Remove the long-deprecated Headers.pm
      - Add repository metadata
    - BR: perl(ExtUtils::MakeMaker) for module build
    - BR: perl(Carp) for module
    - BR: perl(Test::MinimumVersion) and perl(Test::More) ≥ 0.47 for test suite
    - Fix license tag
    - Don't use macros for commands
    - Don't need to remove empty directories from buildroot
    - Use DESTDIR rather than PERL_INSTALL_ROOT
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Make %files list more explicit
    - Drop %defattr, redundant since rpm 4.4

 .gitignore             |    2 +-
 perl-Email-Simple.spec |   48 ++++++++++++++++++++++++++++++++++++------------
 sources                |    2 +-
 3 files changed, 38 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9ad5a3b..983589d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Email-Simple-1.999.tar.gz
+/Email-Simple-[0-9.]*.tar.gz
diff --git a/perl-Email-Simple.spec b/perl-Email-Simple.spec
index 4e340ed..891d24d 100644
--- a/perl-Email-Simple.spec
+++ b/perl-Email-Simple.spec
@@ -1,18 +1,22 @@
 Name:           perl-Email-Simple
-Version:        1.999
-Release:        1.1%{?dist}
+Version:        2.005
+Release:        1%{?dist}
 Summary:        Simple parsing of RFC2822 message format and headers
 
 Group:          Development/Libraries
-License:        GPL or Artistic
+License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Email-Simple/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Email-Simple-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 
 BuildArch:      noarch
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::MinimumVersion)
+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
 "Email::Simple" is the first deliverable of the "Perl Email Project", a
@@ -27,16 +31,15 @@ external dependencies, and correct.
 
 
 %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
@@ -48,13 +51,34 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Email/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/Email::Simple.3pm*
+%{_mandir}/man3/Email::Simple::Header.3pm*
 
 %changelog
+* Mon Mar 19 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.005-1
+- Update to 2.005, needed for perl-Email-MIME (#725225)
+  - Huge improvement to speed of bodyless message parsing
+  - More documentation of header class
+  - New Header crlf defaults to real CRLF
+  - Change initialization order to unbreak Email::MIME
+  - Do not return ->body from ->body_set to simplify subclass behavior
+  - Improve tests
+  - Publicize default_header_class method
+  - Remove the long-deprecated Headers.pm
+  - Add repository metadata
+- BR: perl(ExtUtils::MakeMaker) for module build
+- BR: perl(Carp) for module
+- BR: perl(Test::MinimumVersion) and perl(Test::More) ≥ 0.47 for test suite
+- Fix license tag
+- Don't use macros for commands
+- Don't need to remove empty directories from buildroot
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Make %%files list more explicit
+- Drop %%defattr, redundant since rpm 4.4
+
 * Fri Nov 16 2007 Rob Myers <rob.myers@xxxxxxxxxxxxxxx> - 1.999-1.1
 - drop BuildRequire on perl(Email::MIME) which is not strictly necessary and
   creates a circular dependency
diff --git a/sources b/sources
index e558fc3..612636e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e8cf5daef07f7d39b06933e8fe31e535  Email-Simple-1.999.tar.gz
+945a8a487ba7aea909b01b84ceb1c678  Email-Simple-2.005.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux