Blame SPECS/perl-DateTime-Format-Mail.spec

73854c
# Run extra tests
73854c
%bcond_with perl_DateTime_Format_Mail_enables_extra_test
73854c
73854c
Name:           perl-DateTime-Format-Mail
73854c
Epoch:          1
73854c
Version:        0.403
73854c
Release:        6%{?dist}
73854c
Summary:        Convert between DateTime and RFC2822/822 formats
73854c
License:        GPL+ or Artistic        
73854c
URL:            https://metacpan.org/release/DateTime-Format-Mail            
73854c
Source0:        https://cpan.metacpan.org/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{version}.tar.gz
73854c
BuildArch:      noarch
73854c
# Build
73854c
BuildRequires:  coreutils
73854c
BuildRequires:  make
73854c
BuildRequires:  perl-interpreter
73854c
BuildRequires:  perl-generators
73854c
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
73854c
BuildRequires:  perl(strict)
73854c
BuildRequires:  perl(warnings)
73854c
# Runtime
73854c
BuildRequires:  perl(Carp)
73854c
BuildRequires:  perl(DateTime) >= 1.04
73854c
BuildRequires:  perl(Params::Validate)
73854c
BuildRequires:  perl(vars)
73854c
# Tests only
73854c
BuildRequires:  perl(File::Spec)
73854c
BuildRequires:  perl(Test::More) >= 0.88
73854c
%if %{with perl_DateTime_Format_Mail_enables_extra_test}
73854c
# Author tests
73854c
BuildRequires:  perl(Pod::Coverage::TrustPod)
73854c
BuildRequires:  perl(Test::Pod) >= 1.41
73854c
BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
73854c
# Release tests
73854c
BuildRequires:  perl(Test::CPAN::Meta)
73854c
%endif
73854c
# Dependencies
73854c
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
73854c
73854c
%description
73854c
RFCs 2822 and 822 specify date formats to be used by email. This module parses
73854c
and emits such dates.
73854c
73854c
RFC2822 (April 2001) introduces a slightly different format of date than that
73854c
used by RFC822 (August 1982). The main correction is that the preferred format
73854c
is more limited, and thus easier to parse programmatically.
73854c
73854c
Despite the ease of generating and parsing perfectly valid RFC822 and RFC2822
73854c
people still get it wrong. This module aims to correct that.
73854c
73854c
%prep
73854c
%setup -q -n DateTime-Format-Mail-%{version}
73854c
73854c
%build
73854c
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
73854c
make %{?_smp_mflags}
73854c
73854c
%install
73854c
make pure_install DESTDIR=%{buildroot}
73854c
%{_fixperms} %{buildroot}
73854c
73854c
%check
73854c
make test %{?with_perl_DateTime_Format_Mail_enables_extra_test:\
73854c
    AUTHOR_TESTING=1 RELEASE_TESTING=1}
73854c
73854c
%files
73854c
%license LICENSE
73854c
%doc CREDITS Changes README
73854c
%{perl_vendorlib}/DateTime/
73854c
%{_mandir}/man3/DateTime::Format::Mail.3*
73854c
73854c
%changelog
73854c
* Thu Jul 12 2018 Petr Pisar <ppisar@redhat.com> - 1:0.403-6
73854c
- Disable extra test
73854c
73854c
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-5
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
73854c
73854c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-4
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
73854c
73854c
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.403-3
73854c
- Perl 5.26 rebuild
73854c
73854c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.403-2
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
73854c
73854c
* Tue Jun 28 2016 Paul Howarth <paul@city-fan.org> - 1:0.403-1
73854c
- Update to 0.403
73854c
  - Use DateTime->set_locale instead of ->set to set the locale; using ->set
73854c
    may actually change the local time unintentionally (GH#2)
73854c
- Run the author and release tests too
73854c
- Make %%files list more explicit
73854c
- Update build dependencies and drop redundant requires filter
73854c
73854c
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.402.0-3
73854c
- Perl 5.24 rebuild
73854c
73854c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.402.0-2
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
73854c
73854c
* Thu Jul 23 2015 Petr Šabata <contyk@redhat.com> - 1:0.402.0-1
73854c
- 0.402 bump
73854c
73854c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.401.0-3
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
73854c
73854c
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:0.401.0-2
73854c
- Perl 5.22 rebuild
73854c
73854c
* Fri Dec 05 2014 Petr Pisar <ppisar@redhat.com> - 1:0.401.0-1
73854c
- 0.401 bump
73854c
73854c
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.3001-21
73854c
- Perl 5.20 rebuild
73854c
73854c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-20
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
73854c
73854c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-19
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
73854c
73854c
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.3001-18
73854c
- Perl 5.18 rebuild
73854c
73854c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-17
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
73854c
73854c
* Sat Dec 29 2012 Iain Arnell <iarnell@gmail.com> 0.3001-16
73854c
- gzip the sample dates file in documentation (rhbz#890441)
73854c
- update spec for modern rpmbuild
73854c
73854c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-15
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
73854c
73854c
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.3001-14
73854c
- Perl 5.16 rebuild
73854c
73854c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-13
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73854c
73854c
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> - 0.3001-12
73854c
- update filtering macros for rpm 4.9
73854c
73854c
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.3001-11
73854c
- Perl mass rebuild
73854c
73854c
* Mon Feb 14 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.3001-10
73854c
- Switch to using perl-filters/Abandon filter-requires.sh 
73854c
  (Work around mass rebuild breakdown).
73854c
73854c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-9
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
73854c
73854c
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-8
73854c
- 661697 rebuild for fixing problems with vendorach/lib
73854c
73854c
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.3001-7
73854c
- Mass rebuild with perl-5.12.0
73854c
73854c
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.3001-6
73854c
- rebuild against perl 5.10.1
73854c
73854c
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-5
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
73854c
73854c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3001-4
73854c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
73854c
73854c
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3001-3
73854c
- Rebuild for perl 5.10 (again)
73854c
73854c
* Fri Jan 25 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-2
73854c
- no more notes/ directory
73854c
73854c
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.3001-1
73854c
- 0.3001
73854c
- fix license tag
73854c
- rebuild against new perl
73854c
73854c
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-4
73854c
- bump for mass rebuild
73854c
73854c
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-3
73854c
- bump for build and release
73854c
73854c
* Sun Aug 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-2
73854c
- add missing br: perl(File::Find::Rule)
73854c
- additional files from the test suite added to %%doc
73854c
73854c
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.30-1
73854c
- Initial spec file for F-E