6cc01a
%global cpan_version 1.30
6cc01a
Name:           perl-Time-Local
6cc01a
Epoch:          2
6cc01a
Version:        %{cpan_version}0
6cc01a
Release:        4%{?dist}
6cc01a
Summary:        Efficiently compute time from local and GMT time
6cc01a
License:        GPL+ or Artistic
6cc01a
URL:            https://metacpan.org/release/Time-Local
6cc01a
Source0:        https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{cpan_version}.tar.gz
6cc01a
BuildArch:      noarch
6cc01a
BuildRequires:  make
6cc01a
BuildRequires:  perl-generators
6cc01a
BuildRequires:  perl-interpreter
6cc01a
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
6cc01a
BuildRequires:  perl(strict)
6cc01a
BuildRequires:  perl(warnings)
6cc01a
# Run-time:
6cc01a
BuildRequires:  perl(Carp)
6cc01a
# Config used only with perl < 5.12
6cc01a
BuildRequires:  perl(constant)
6cc01a
BuildRequires:  perl(Exporter)
6cc01a
BuildRequires:  perl(parent)
6cc01a
# Tests:
6cc01a
# CPAN::Meta not helpful
6cc01a
# CPAN::Meta::Prereqs not helpful
6cc01a
BuildRequires:  perl(File::Spec)
6cc01a
BuildRequires:  perl(Test::More) >= 0.96
6cc01a
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
6cc01a
6cc01a
%description
6cc01a
This module provides functions that are the inverse of built-in perl functions
6cc01a
localtime() and gmtime(). They accept a date as a six-element array, and
6cc01a
return the corresponding time(2) value in seconds since the system epoch
6cc01a
(Midnight, January 1, 1970 GMT on Unix, for example). This value can be
6cc01a
positive or negative, though POSIX only requires support for positive values,
6cc01a
so dates before the system's epoch may not work on all operating systems.
6cc01a
6cc01a
%prep
6cc01a
%setup -q -n Time-Local-%{cpan_version}
6cc01a
6cc01a
%build
6cc01a
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
6cc01a
%{make_build}
6cc01a
6cc01a
%install
6cc01a
%{make_install}
6cc01a
%{_fixperms} $RPM_BUILD_ROOT/*
6cc01a
6cc01a
%check
6cc01a
make test
6cc01a
6cc01a
%files
6cc01a
%license LICENSE
6cc01a
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
6cc01a
%{perl_vendorlib}/*
6cc01a
%{_mandir}/man3/*
6cc01a
6cc01a
%changelog
6cc01a
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.300-4
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6cc01a
6cc01a
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.300-3
6cc01a
- Perl 5.32 rebuild
6cc01a
6cc01a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.300-2
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6cc01a
6cc01a
* Mon Jan 27 2020 Petr Pisar <ppisar@redhat.com> - 2:1.300-1
6cc01a
- 1.30 bump
6cc01a
6cc01a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.280-439
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6cc01a
6cc01a
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.280-438
6cc01a
- Increase release to favour standalone package
6cc01a
6cc01a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.280-4
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6cc01a
6cc01a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.280-3
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6cc01a
6cc01a
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.280-2
6cc01a
- Perl 5.28 rebuild
6cc01a
6cc01a
* Thu Jun 14 2018 Petr Pisar <ppisar@redhat.com> - 1:1.280-1
6cc01a
- 1.28 bump
6cc01a
6cc01a
* Tue Jun 12 2018 Petr Pisar <ppisar@redhat.com> - 1:1.270-1
6cc01a
- 1.27 bump
6cc01a
6cc01a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.250-395
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6cc01a
6cc01a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.250-394
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6cc01a
6cc01a
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.250-393
6cc01a
- Perl 5.26 rebuild
6cc01a
6cc01a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.250-2
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6cc01a
6cc01a
* Mon Nov 21 2016 Petr Pisar <ppisar@redhat.com> - 1:1.250-1
6cc01a
- 1.25 bump
6cc01a
6cc01a
* Fri Oct 14 2016 Petr Pisar <ppisar@redhat.com> - 1:1.240-1
6cc01a
- 1.24 bump
6cc01a
6cc01a
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-365
6cc01a
- Increase release to favour standalone package
6cc01a
6cc01a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2300-347
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6cc01a
6cc01a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2300-346
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6cc01a
6cc01a
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-345
6cc01a
- Increase release to favour standalone package
6cc01a
6cc01a
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-311
6cc01a
- Perl 5.22 rebuild
6cc01a
6cc01a
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-310
6cc01a
- Increase release to favour standalone package
6cc01a
6cc01a
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-293
6cc01a
- Perl 5.20 rebuild
6cc01a
6cc01a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2300-292
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6cc01a
6cc01a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2300-291
6cc01a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6cc01a
6cc01a
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.2300-290
6cc01a
- Increase release to favour standalone package
6cc01a
6cc01a
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.2300-2
6cc01a
- Link minimal build-root packages against libperl.so explicitly
6cc01a
6cc01a
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> 1.2300-1
6cc01a
- Specfile autogenerated by cpanspec 1.78.