0.401 bump
This commit is contained in:
parent
5b48ee89e2
commit
c5aa3edcc1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
DateTime-Format-Mail-0.3001.tar.gz
|
DateTime-Format-Mail-0.3001.tar.gz
|
||||||
|
/DateTime-Format-Mail-0.401.tar.gz
|
||||||
|
2
.rpmlint
Normal file
2
.rpmlint
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
from Config import *
|
||||||
|
addFilter("spelling-error .* programmatically");
|
@ -1,27 +1,36 @@
|
|||||||
Name: perl-DateTime-Format-Mail
|
%global cpan_version 0.401
|
||||||
Version: 0.3001
|
|
||||||
Release: 21%{?dist}
|
|
||||||
Summary: Convert between DateTime and RFC2822/822 formats
|
|
||||||
|
|
||||||
|
Name: perl-DateTime-Format-Mail
|
||||||
|
Epoch: 1
|
||||||
|
Version: %{cpan_version}.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Convert between DateTime and RFC2822/822 formats
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-Mail
|
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
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Class::ISA)
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Module::Build), perl(DateTime)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
BuildRequires: perl(Params::Validate) >= 0.67, perl(Test::More) >= 0.47
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(File::Find::Rule)
|
BuildRequires: perl(warnings)
|
||||||
|
# Run-time:
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
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
|
# DateTime >= 0.1705 plays havoc with rpm's versioning system
|
||||||
Requires: perl(DateTime) >= 0.18
|
Requires: perl(DateTime) >= 0.18
|
||||||
%{?filter_setup:
|
|
||||||
%filter_from_requires s/^perl(DateTime).*/d
|
# Remove under-specified dependencies
|
||||||
%{?perl_default_filter}
|
|
||||||
}
|
|
||||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime\\)
|
||||||
|
|
||||||
%description
|
%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
|
Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
|
||||||
people still get it wrong. This module aims to correct that.
|
people still get it wrong. This module aims to correct that.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n DateTime-Format-Mail-%{version}
|
%setup -q -n DateTime-Format-Mail-%{cpan_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`
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
# American English, bitte
|
|
||||||
mv LICENCE LICENSE
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# we don't have a SIGNATURE, regardless of perl(Test::Signature) being around
|
|
||||||
rm t/00signature.t
|
|
||||||
|
|
||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Artistic COPYING LICENSE Changes AUTHORS README CREDITS
|
%doc CREDITS Changes LICENSE README
|
||||||
%doc t/sample_dates.gz t/invalid.t
|
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 1:0.401.0-1
|
||||||
|
- 0.401 bump
|
||||||
|
|
||||||
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3001-21
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3001-21
|
||||||
- Perl 5.20 rebuild
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user