From 733f1d7eacf0481245946691932bafb2d3ec4eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 16 Oct 2020 00:13:07 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl-DateTime-Format-Mail#ce931e379af20e46d2975b055ff16e77a9d87069 --- .gitignore | 5 + .rpmlint | 2 + perl-DateTime-Format-Mail.spec | 213 +++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 221 insertions(+) create mode 100644 .rpmlint create mode 100644 perl-DateTime-Format-Mail.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..6da7d83 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +/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 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 new file mode 100644 index 0000000..ea1ee1b --- /dev/null +++ b/perl-DateTime-Format-Mail.spec @@ -0,0 +1,213 @@ +# Run extra tests +%bcond_without perl_DateTime_Format_Mail_enables_extra_test + +Name: perl-DateTime-Format-Mail +Epoch: 1 +Version: 0.403 +Release: 13%{?dist} +Summary: Convert between DateTime and RFC2822/822 formats +License: GPL+ or Artistic +URL: https://metacpan.org/release/DateTime-Format-Mail +Source0: https://cpan.metacpan.org/authors/id/B/BO/BOOK/DateTime-Format-Mail-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: coreutils +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(DateTime) >= 1.04 +BuildRequires: perl(Params::Validate) +BuildRequires: perl(vars) +# Tests only +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) >= 0.88 +%if %{with perl_DateTime_Format_Mail_enables_extra_test} +# 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) +%endif +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +RFCs 2822 and 822 specify date formats to be used by email. This module parses +and emits such dates. + +RFC2822 (April 2001) introduces a slightly different format of date than that +used by RFC822 (August 1982). The main correction is that the preferred format +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} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot} + +%check +make test %{?with_perl_DateTime_Format_Mail_enables_extra_test:\ + AUTHOR_TESTING=1 RELEASE_TESTING=1} + +%files +%license LICENSE +%doc CREDITS Changes README +%{perl_vendorlib}/DateTime/ +%{_mandir}/man3/DateTime::Format::Mail.3* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1:0.403-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 1:0.403-12 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1:0.403-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1:0.403-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 1:0.403-9 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1:0.403-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1:0.403-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 29 2018 Jitka Plesnikova - 1:0.403-6 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 1:0.403-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1:0.403-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Jitka Plesnikova - 1:0.403-3 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1:0.403-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jun 28 2016 Paul Howarth - 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 - 1:0.402.0-3 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1:0.402.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jul 23 2015 Petr Šabata - 1:0.402.0-1 +- 0.402 bump + +* Thu Jun 18 2015 Fedora Release Engineering - 1:0.401.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 06 2015 Jitka Plesnikova - 1:0.401.0-2 +- Perl 5.22 rebuild + +* Fri Dec 05 2014 Petr Pisar - 1:0.401.0-1 +- 0.401 bump + +* Fri Aug 29 2014 Jitka Plesnikova - 0.3001-21 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.3001-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.3001-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 31 2013 Petr Pisar - 0.3001-18 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.3001-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Dec 29 2012 Iain Arnell 0.3001-16 +- gzip the sample dates file in documentation (rhbz#890441) +- update spec for modern rpmbuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.3001-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 20 2012 Petr Pisar - 0.3001-14 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.3001-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jul 20 2011 Iain Arnell - 0.3001-12 +- update filtering macros for rpm 4.9 + +* Tue Jul 19 2011 Petr Sabata - 0.3001-11 +- Perl mass rebuild + +* Mon Feb 14 2011 Ralf Corsépius - 0.3001-10 +- Switch to using perl-filters/Abandon filter-requires.sh + (Work around mass rebuild breakdown). + +* Tue Feb 08 2011 Fedora Release Engineering - 0.3001-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.3001-8 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 0.3001-7 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 0.3001-6 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.3001-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.3001-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.3001-3 +- Rebuild for perl 5.10 (again) + +* Fri Jan 25 2008 Tom "spot" Callaway 0.3001-2 +- no more notes/ directory + +* Thu Jan 24 2008 Tom "spot" Callaway 0.3001-1 +- 0.3001 +- fix license tag +- rebuild against new perl + +* Thu Aug 31 2006 Chris Weyl 0.30-4 +- bump for mass rebuild + +* Sun Aug 06 2006 Chris Weyl 0.30-3 +- bump for build and release + +* Sun Aug 06 2006 Chris Weyl 0.30-2 +- add missing br: perl(File::Find::Rule) +- additional files from the test suite added to %%doc + +* Fri Aug 04 2006 Chris Weyl 0.30-1 +- Initial spec file for F-E diff --git a/sources b/sources new file mode 100644 index 0000000..de4bab9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b34a52d96290c42cf53e8db0a8f16ecd DateTime-Format-Mail-0.403.tar.gz