Update to 0.403
- New upstream release 0.403 - Use DateTime->set_locale instead of ->set to set the locale; using ->set may actually change the local time unintentionally (GH#2) - Run the author and release tests too - Make %files list more explicit - Update build dependencies and drop redundant requires filter
This commit is contained in:
parent
a9c5e1ba43
commit
22e548d942
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
DateTime-Format-Mail-0.3001.tar.gz
|
||||
/DateTime-Format-Mail-0.30.tar.gz
|
||||
/DateTime-Format-Mail-0.3001.tar.gz
|
||||
/DateTime-Format-Mail-0.401.tar.gz
|
||||
/DateTime-Format-Mail-0.402.tar.gz
|
||||
/DateTime-Format-Mail-0.403.tar.gz
|
||||
|
@ -1,35 +1,36 @@
|
||||
%global cpan_version 0.402
|
||||
|
||||
Name: perl-DateTime-Format-Mail
|
||||
Epoch: 1
|
||||
Version: %{cpan_version}.0
|
||||
Release: 3%{?dist}
|
||||
Version: 0.403
|
||||
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/B/BO/BOOK/DateTime-Format-Mail-%{cpan_version}.tar.gz
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime:
|
||||
# Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(DateTime) >= 0.18
|
||||
BuildRequires: perl(DateTime) >= 1.04
|
||||
BuildRequires: perl(Params::Validate)
|
||||
BuildRequires: perl(vars)
|
||||
# Tests only
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
# Author tests
|
||||
BuildRequires: perl(Pod::Coverage::TrustPod)
|
||||
BuildRequires: perl(Test::Pod) >= 1.41
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
||||
# Release tests
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
# Dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(DateTime) >= 0.18
|
||||
|
||||
# Remove under-specified dependencies
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
|
||||
|
||||
%description
|
||||
RFCs 2822 and 822 specify date formats to be used by email. This module parses
|
||||
@ -43,7 +44,7 @@ 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-%{cpan_version}
|
||||
%setup -q -n DateTime-Format-Mail-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
@ -51,18 +52,26 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
%{_fixperms} %{buildroot}/*
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CREDITS Changes README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
%{perl_vendorlib}/DateTime/
|
||||
%{_mandir}/man3/DateTime::Format::Mail.3*
|
||||
|
||||
%changelog
|
||||
* Tue Jun 28 2016 Paul Howarth <paul@city-fan.org> - 1:0.403-1
|
||||
- Update to 0.403
|
||||
- Use DateTime->set_locale instead of ->set to set the locale; using ->set
|
||||
may actually change the local time unintentionally (GH#2)
|
||||
- Run the author and release tests too
|
||||
- Make %%files list more explicit
|
||||
- Update build dependencies and drop redundant requires filter
|
||||
|
||||
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.402.0-3
|
||||
- Perl 5.24 rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user