Blame SPECS/perl-Date-ISO8601.spec

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