[perl-DateTime-Format-Mail] 0.401 bump

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

 



commit c5aa3edcc1d4120a3ade76683dc78d11d623b346
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Fri Dec 5 14:18:42 2014 +0100

    0.401 bump

 .gitignore                     |    1 +
 .rpmlint                       |    2 +
 perl-DateTime-Format-Mail.spec |   66 +++++++++++++++++++---------------------
 sources                        |    2 +-
 4 files changed, 35 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 130181b..200e663 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 DateTime-Format-Mail-0.3001.tar.gz
+/DateTime-Format-Mail-0.401.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..7b97fad
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* programmatically");
diff --git a/perl-DateTime-Format-Mail.spec b/perl-DateTime-Format-Mail.spec
index b435053..3781237 100644
--- a/perl-DateTime-Format-Mail.spec
+++ b/perl-DateTime-Format-Mail.spec
@@ -1,27 +1,36 @@
+%global cpan_version 0.401
+
 Name:           perl-DateTime-Format-Mail
-Version:        0.3001
-Release:        21%{?dist}
+Epoch:          1
+Version:        %{cpan_version}.0
+Release:        1%{?dist}
 Summary:        Convert between DateTime and RFC2822/822 formats
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic        
 URL:            http://search.cpan.org/dist/DateTime-Format-Mail            
-Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Mail-%{version}.tar.gz        
-
+Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{cpan_version}.tar.gz        
 BuildArch:      noarch
-BuildRequires:  perl(Class::ISA)
-BuildRequires:  perl(Module::Build), perl(DateTime) 
-BuildRequires:  perl(Params::Validate) >= 0.67, perl(Test::More) >= 0.47
-BuildRequires:  perl(File::Find::Rule)
-
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DateTime) >= 0.18
+BuildRequires:  perl(Params::Validate)
+BuildRequires:  perl(vars)
+# Tests:
+BuildRequires:  perl(File::Spec)
+# Pod::Coverage::TrustPod not used
+# Test::CPAN::Meta not used
+BuildRequires:  perl(Test::More) >= 0.88
+# Test::Pod 1.41 not used
+# Test::Pod::Coverage 1.08 not used
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # DateTime >= 0.1705 plays havoc with rpm's versioning system
 Requires:       perl(DateTime) >= 0.18
-%{?filter_setup:
-%filter_from_requires s/^perl(DateTime).*/d
-%{?perl_default_filter}
-}
+
+# Remove under-specified dependencies
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
 
 %description
@@ -35,44 +44,31 @@ is more limited, and thus easier to parse programmatically.
 Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
 people still get it wrong. This module aims to correct that.
 
-
 %prep
-%setup -q -n DateTime-Format-Mail-%{version}
-
-gzip -c t/sample_dates >t/sample_dates.gz
-
-# POD doesn't like E<copy> very much...
-perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
-
+%setup -q -n DateTime-Format-Mail-%{cpan_version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-# American English, bitte
-mv LICENCE LICENSE
-
 %install
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}/*
 
-
 %check
-# we don't have a SIGNATURE, regardless of perl(Test::Signature) being around
-rm t/00signature.t
-
 make test
 
-
 %files
-%doc Artistic COPYING LICENSE Changes AUTHORS README CREDITS 
-%doc t/sample_dates.gz t/invalid.t
+%doc CREDITS Changes LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Fri Dec 05 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 1:0.401.0-1
+- 0.401 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.3001-21
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 710684f..ac30f65 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-15e36249e866463bd0237262a8e43b16  DateTime-Format-Mail-0.3001.tar.gz
+98f4d4d9dc17af5dcb3b3c79314ccc96  DateTime-Format-Mail-0.401.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