[packages/perl-DateTime-Format-Mail] - up to 0.403

arekm arekm at pld-linux.org
Sun Oct 30 22:02:34 CET 2016


commit c1f9ef43187278da20dad426106e45b2b683c04b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 30 22:02:29 2016 +0100

    - up to 0.403

 perl-DateTime-Format-Mail-datetime_version.patch | 33 ------------------------
 perl-DateTime-Format-Mail.spec                   | 21 +++++++--------
 2 files changed, 10 insertions(+), 44 deletions(-)
---
diff --git a/perl-DateTime-Format-Mail.spec b/perl-DateTime-Format-Mail.spec
index 633f8f2..cf3a924 100644
--- a/perl-DateTime-Format-Mail.spec
+++ b/perl-DateTime-Format-Mail.spec
@@ -8,14 +8,14 @@
 Summary:	DateTime::Format::Mail - Convert between DateTime and RFC 2822/822 formats
 Summary(pl.UTF-8):	DateTime::Format::Mail - konwersja między formatami DateTime a RFC 2822/822
 Name:		perl-DateTime-Format-Mail
-Version:	0.3001
+Version:	0.403
 Release:	1
+Epoch:		1
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/DateTime/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5:	15e36249e866463bd0237262a8e43b16
-Patch0:		%{name}-datetime_version.patch
+# Source0-md5:	b34a52d96290c42cf53e8db0a8f16ecd
 URL:		http://search.cpan.org/dist/DateTime-Format-Mail/
 BuildRequires:	perl-Module-Build
 BuildRequires:	perl-devel >= 1:5.8.0
@@ -37,26 +37,25 @@ poczcie elektronicznej. Ten moduł analizuje i tworzy takie daty.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
 
 %build
-%{__perl} Build.PL \
-	destdir=$RPM_BUILD_ROOT \
-	installdirs=vendor
-./Build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
 
-%{?with_tests:./Build test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-./Build install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS Changes CREDITS README
+%doc Changes CREDITS README
 %{perl_vendorlib}/DateTime/Format/Mail.pm
 %{_mandir}/man3/DateTime::Format::Mail.3pm*
diff --git a/perl-DateTime-Format-Mail-datetime_version.patch b/perl-DateTime-Format-Mail-datetime_version.patch
deleted file mode 100644
index f82d696..0000000
--- a/perl-DateTime-Format-Mail-datetime_version.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- DateTime-Format-Mail-0.30/Build.PL.orig	2007-03-25 02:29:49.000000000 +0000
-+++ DateTime-Format-Mail-0.30/Build.PL	2007-03-25 02:31:08.000000000 +0000
-@@ -5,7 +5,7 @@
- Module::Build->new( module_name => 'DateTime::Format::Mail',
-                     author      => 'Dave Rolsky <autarch at urth.org>',
-                     license     => 'perl',
--                    requires    => { 'DateTime' => '0.1705',
-+                    requires    => { 'DateTime' => '0.17.05',
-                                      'Params::Validate' => '0.67',
-                                      'Test::More' => '0.47',
-                                    },
---- DateTime-Format-Mail-0.30/META.yml.orig	2007-03-25 02:29:58.000000000 +0000
-+++ DateTime-Format-Mail-0.30/META.yml	2007-03-25 02:30:48.000000000 +0000
-@@ -11,7 +11,7 @@
- resources:
-   license: http://dev.perl.org/licenses/
- requires:
--  DateTime: 0.1705
-+  DateTime: 0.17.05
-   Params::Validate: 0.67
-   Test::More: 0.47
- build_requires:
---- DateTime-Format-Mail-0.30/lib/DateTime/Format/Mail.pm.orig	2007-03-25 02:30:06.000000000 +0000
-+++ DateTime-Format-Mail-0.30/lib/DateTime/Format/Mail.pm	2007-03-25 02:30:59.000000000 +0000
-@@ -4,7 +4,7 @@
- use strict;
- use 5.005;
- use Carp;
--use DateTime 0.1705;
-+use DateTime 0.17.05;
- use Params::Validate qw( validate validate_pos SCALAR );
- use vars qw( $VERSION );
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-DateTime-Format-Mail.git/commitdiff/c1f9ef43187278da20dad426106e45b2b683c04b



More information about the pld-cvs-commit mailing list