From c361e5056f4c998044a34076cf41fa0bcc3ea618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Fri, 16 Oct 2020 00:06:56 +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-Date-ISO8601#6582fb9dab3d17628c1eca1b89e90561193032e2 --- .gitignore | 2 + perl-Date-ISO8601.spec | 160 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 163 insertions(+) create mode 100644 perl-Date-ISO8601.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..46842b1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/Date-ISO8601-0.004.tar.gz +/Date-ISO8601-0.005.tar.gz diff --git a/perl-Date-ISO8601.spec b/perl-Date-ISO8601.spec new file mode 100644 index 0000000..7f87ceb --- /dev/null +++ b/perl-Date-ISO8601.spec @@ -0,0 +1,160 @@ +# Run optional test +%if ! (0%{?rhel}) +%bcond_without perl_Date_ISO8601_enables_optional_test +%else +%bcond_with perl_Date_ISO8601_enables_optional_test +%endif + +Name: perl-Date-ISO8601 +Version: 0.005 +Release: 10%{?dist} +Summary: Three ISO 8601 numerical calendars +License: GPL+ or Artistic +URL: https://metacpan.org/release/Date-ISO8601 +Source0: https://cpan.metacpan.org/modules/by-module/Date/Date-ISO8601-%{version}.tar.gz +BuildArch: noarch +# Module Build +BuildRequires: coreutils +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Module::Build) +# Module Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(integer) +BuildRequires: perl(parent) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: perl(Test::More) +%if %{with perl_Date_ISO8601_enables_optional_test} +# Optional Tests +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +%endif +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Exporter) + +%description +The international standard ISO 8601 "Data elements and interchange formats +- Information interchange - Representation of dates and times" defines +three distinct calendars by which days can be labeled. It also defines +textual formats for the representation of dates in these calendars. This +module provides functions to convert dates between these three calendars +and Chronological Julian Day Numbers, which is a suitable format to do +arithmetic with. It also supplies functions that describe the shape of +these calendars, to assist in calendrical calculations. It also supplies +functions to represent dates textually in the ISO 8601 formats. ISO 8601 +also covers time of day and time periods, but this module does nothing +relating to those parts of the standard; this is only about labeling days. + +%prep +%setup -q -n Date-ISO8601-%{version} + +%build +perl Build.PL --installdirs=vendor +./Build + +%install +./Build install --destdir=%{buildroot} --create_packlist=0 +%{_fixperms} -c %{buildroot} + +%check +./Build test + +%files +%doc Changes README +%{perl_vendorlib}/Date/ +%{_mandir}/man3/Date::ISO8601.3* + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 0.005-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jitka Plesnikova - 0.005-9 +- Perl 5.32 rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 0.005-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.005-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 31 2019 Jitka Plesnikova - 0.005-6 +- Perl 5.30 rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.005-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.005-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 28 2018 Jitka Plesnikova - 0.005-3 +- Perl 5.28 rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.005-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jul 28 2017 Paul Howarth - 0.005-1 +- Update to 0.005 + - No longer include a Makefile.PL in the distribution + - In documentation, use four-column indentation for all verbatim material + - In META.{yml,json}, point to public bug tracker + - Convert .cvsignore to .gitignore +- Classify buildreqs by usage +- Don't need to remote empty directories from the buildroot +- Make %%files list more explicit +- Drop legacy Group: tag + +* Thu Jul 27 2017 Fedora Release Engineering - 0.004-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 0.004-16 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.004-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 0.004-14 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.004-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 0.004-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 05 2015 Jitka Plesnikova - 0.004-11 +- Perl 5.22 rebuild + +* Wed Aug 27 2014 Jitka Plesnikova - 0.004-10 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.004-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.004-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jul 20 2013 Petr Pisar - 0.004-7 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.004-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 0.004-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 12 2012 Petr Pisar - 0.004-4 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.004-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Aug 16 2011 Iain Arnell 0.004-2 +- drop explicit BR perl >= 0:5.006 + +* Thu Aug 11 2011 Iain Arnell 0.004-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..90bf2b1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Date-ISO8601-0.005.tar.gz) = 3644542fbe728f8df10ac4f9623b3c2186c36b6dd6d1718121e360a8ba9504fbd1bd8b31064ac02c524528726eaff0fc72cd1b7cbc04ebe0cdfc753a99895ad5