Blame perl-Time-Local.spec

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