Name: perl-DateTime-Format-Epoch Version: 0.16 Release: 23%{?dist} Summary: Convert DateTimes to/from epoch seconds License: GPL+ or Artistic URL: https://metacpan.org/release/DateTime-Format-Epoch Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-Epoch-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: sed # Runtime BuildRequires: perl(DateTime) >= 0.31 BuildRequires: perl(DateTime::LeapSecond) BuildRequires: perl(Math::BigInt) >= 1.66 BuildRequires: perl(Math::BigInt::GMP) BuildRequires: perl(Params::Validate) BuildRequires: perl(strict) BuildRequires: perl(vars) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Test::More) # Optional Tests BuildRequires: perl(Test::Pod) >= 1.00 # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) Requires: perl(DateTime) >= 0.31 Requires: perl(Math::BigInt) >= 1.66 Requires: perl(Math::BigInt::GMP) # Filter under-specified dependencies %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Math::BigInt\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(DateTime\\) %description This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since a given epoch. It can also do the reverse. %prep %setup -q -n DateTime-Format-Epoch-%{version} find -type f -print0 | xargs -0 sed -i 's/\r$//' %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=true NO_PERLLOCAL=true make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %{_fixperms} -c %{buildroot} %check make test %files %license LICENSE %doc Changes README TODO %{perl_vendorlib}/DateTime/ %{_mandir}/man3/DateTime::Format::Epoch.3* %{_mandir}/man3/DateTime::Format::Epoch::ActiveDirectory.3* %{_mandir}/man3/DateTime::Format::Epoch::DotNet.3* %{_mandir}/man3/DateTime::Format::Epoch::JD.3* %{_mandir}/man3/DateTime::Format::Epoch::Lilian.3* %{_mandir}/man3/DateTime::Format::Epoch::MJD.3* %{_mandir}/man3/DateTime::Format::Epoch::MacOS.3* %{_mandir}/man3/DateTime::Format::Epoch::NTP.3* %{_mandir}/man3/DateTime::Format::Epoch::RJD.3* %{_mandir}/man3/DateTime::Format::Epoch::RataDie.3* %{_mandir}/man3/DateTime::Format::Epoch::TAI64.3* %{_mandir}/man3/DateTime::Format::Epoch::TJD.3* %{_mandir}/man3/DateTime::Format::Epoch::Unix.3* %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0.16-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 01 2022 Jitka Plesnikova - 0.16-22 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.16-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.16-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat May 22 2021 Jitka Plesnikova - 0.16-19 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.16-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.16-16 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.16-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.16-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.16-13 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.16-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 29 2018 Jitka Plesnikova - 0.16-10 - Perl 5.28 rebuild * Wed Feb 21 2018 Paul Howarth - 0.16-9 - Add dependency on Math::BigInt::GMP as this module specifically requests that backend as first preference for Math::BigInt - Make %%files list more explicit * Thu Feb 08 2018 Fedora Release Engineering - 0.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 06 2017 Jitka Plesnikova - 0.16-6 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon May 16 2016 Jitka Plesnikova - 0.16-4 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jun 11 2015 Petr Ĺ abata - 0.16-1 - 0.16 bump * Sat Jun 06 2015 Jitka Plesnikova - 0.13-10 - Perl 5.22 rebuild * Fri Aug 29 2014 Jitka Plesnikova - 0.13-9 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 31 2013 Petr Pisar - 0.13-6 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.13-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.13-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 20 2012 Petr Pisar - 0.13-3 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Aug 11 2011 Iain Arnell 0.13-1 - Specfile autogenerated by cpanspec 1.78.