|
|
1624d9 |
%{?scl:%scl_package perl-Time-Local}
|
|
|
1624d9 |
|
|
|
1624d9 |
Name: %{?scl_prefix}perl-Time-Local
|
|
|
1624d9 |
Version: 1.2300
|
|
|
1624d9 |
Release: 310%{?dist}
|
|
|
1624d9 |
Summary: Efficiently compute time from local and GMT time
|
|
|
1624d9 |
License: GPL+ or Artistic
|
|
|
1624d9 |
Group: Development/Libraries
|
|
|
1624d9 |
URL: http://search.cpan.org/dist/Time-Local/
|
|
|
1624d9 |
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{version}.tar.gz
|
|
|
1624d9 |
BuildArch: noarch
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
1624d9 |
# Run-time:
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(constant)
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
1624d9 |
# Tests:
|
|
|
1624d9 |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.88
|
|
|
1624d9 |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
1624d9 |
|
|
|
1624d9 |
%description
|
|
|
1624d9 |
This module provides functions that are the inverse of built-in perl functions
|
|
|
1624d9 |
localtime() and gmtime(). They accept a date as a six-element array, and
|
|
|
1624d9 |
return the corresponding time(2) value in seconds since the system epoch
|
|
|
1624d9 |
(Midnight, January 1, 1970 GMT on Unix, for example). This value can be
|
|
|
1624d9 |
positive or negative, though POSIX only requires support for positive values,
|
|
|
1624d9 |
so dates before the system's epoch may not work on all operating systems.
|
|
|
1624d9 |
|
|
|
1624d9 |
%prep
|
|
|
1624d9 |
%setup -q -n Time-Local-%{version}
|
|
|
1624d9 |
|
|
|
1624d9 |
%build
|
|
|
1624d9 |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
1624d9 |
|
|
|
1624d9 |
%install
|
|
|
1624d9 |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
1624d9 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
1624d9 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
1624d9 |
|
|
|
1624d9 |
%check
|
|
|
1624d9 |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
1624d9 |
|
|
|
1624d9 |
%files
|
|
|
1624d9 |
%doc Changes LICENSE README
|
|
|
1624d9 |
%{perl_vendorlib}/*
|
|
|
1624d9 |
%{_mandir}/man3/*
|
|
|
1624d9 |
|
|
|
1624d9 |
%changelog
|
|
|
1624d9 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-310
|
|
|
1624d9 |
- Increase release to favour standalone package
|
|
|
1624d9 |
|
|
|
1624d9 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.2300-293
|
|
|
1624d9 |
- Perl 5.20 rebuild
|
|
|
1624d9 |
|
|
|
1624d9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2300-292
|
|
|
1624d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1624d9 |
|
|
|
1624d9 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2300-291
|
|
|
1624d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1624d9 |
|
|
|
1624d9 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.2300-290
|
|
|
1624d9 |
- Increase release to favour standalone package
|
|
|
1624d9 |
|
|
|
1624d9 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.2300-2
|
|
|
1624d9 |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
1624d9 |
|
|
|
1624d9 |
* Fri Mar 15 2013 Petr Pisar <ppisar@redhat.com> 1.2300-1
|
|
|
1624d9 |
- Specfile autogenerated by cpanspec 1.78.
|