Blame perl-Time-Local.spec

040f0b
%global cpan_version 1.25
af2ec2
Name:           perl-Time-Local
997c51
Epoch:          1
997c51
Version:        %{cpan_version}0
d52a72
Release:        392%{?dist}
af2ec2
Summary:        Efficiently compute time from local and GMT time
af2ec2
License:        GPL+ or Artistic
af2ec2
Group:          Development/Libraries
af2ec2
URL:            http://search.cpan.org/dist/Time-Local/
997c51
Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{cpan_version}.tar.gz
af2ec2
BuildArch:      noarch
997c51
BuildRequires:  findutils
997c51
BuildRequires:  make
af2ec2
BuildRequires:  perl
e9700d
BuildRequires:  perl-generators
997c51
BuildRequires:  perl(ExtUtils::MakeMaker)
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:
997c51
# POSIX not used
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
af2ec2
perl Makefile.PL INSTALLDIRS=vendor
af2ec2
make %{?_smp_mflags}
af2ec2
af2ec2
%install
af2ec2
make pure_install DESTDIR=$RPM_BUILD_ROOT
997c51
find $RPM_BUILD_ROOT -type f -name .packlist -delete
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
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.