Blob Blame Raw
Name:           perl-Time-Local
Version:        1.2300
Release:        292%{?dist}
Summary:        Efficiently compute time from local and GMT time
License:        GPL+ or Artistic
Group:          Development/Libraries
BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires:  perl(strict)
BuildRequires:  perl(warnings)
# Run-time:
BuildRequires:  perl(Carp)
BuildRequires:  perl(Config)
BuildRequires:  perl(constant)
BuildRequires:  perl(Exporter)
BuildRequires:  perl(vars)
# Tests:
BuildRequires:  perl(Test::More) >= 0.88
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))

This module provides functions that are the inverse of built-in perl functions
localtime() and gmtime(). They accept a date as a six-element array, and
return the corresponding time(2) value in seconds since the system epoch
(Midnight, January 1, 1970 GMT on Unix, for example). This value can be
positive or negative, though POSIX only requires support for positive values,
so dates before the system's epoch may not work on all operating systems.

%setup -q -n Time-Local-%{version}

perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*

make test


* Sat Jun 07 2014 Fedora Release Engineering <> - 1.2300-292
- Rebuilt for

* Sun Aug 04 2013 Fedora Release Engineering <> - 1.2300-291
- Rebuilt for

* Mon Jul 15 2013 Petr Pisar <> - 1.2300-290
- Increase release to favour standalone package

* Fri Jul 12 2013 Petr Pisar <> - 1.2300-2
- Link minimal build-root packages against explicitly

* Fri Mar 15 2013 Petr Pisar <> 1.2300-1
- Specfile autogenerated by cpanspec 1.78.