Name: perl-DateTime-Precise Version: 1.05 Release: 45%{?dist} Summary: Perform common time and date operations with additional GPS operations License: Public Domain URL: https://metacpan.org/release/DateTime-Precise Source0: https://cpan.metacpan.org/authors/id/B/BZ/BZAJAC/DateTime-Precise-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?filter_setup: %filter_from_provides /perl(bigfloat)/d %filter_from_provides /perl(bigint)/d %filter_from_requires /perl(DateTime::Math\/bigfloat.pl)/d %filter_from_requires /perl(DateTime::Math\/bigint.pl)/d %?perl_default_filter } %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(big(float|int)\\) %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(DateTime::Math/big(float|int)\\.pl\\) %description The purpose of this library was to replace our dependence on Unix epoch time, which, being limited to a range of about 1970 to 2030, is inadequate for our purposes (we have data as old as 1870). This date library effectively handles dates from A.D. 1000 to infinity, and would probably work all the way back to 0 (ignoring, of course, the switch-over to the Gregorian calendar). The useful features of Unix epoch time (ease of date difference calculation and date comparison, strict ordering) are preserved, and elements such as human-legibility are added. The library handles fractional seconds and some date/time manipulations used for the Global Positioning Satellite system. %prep %setup -q -n DateTime-Precise-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %files %doc CHANGES README %{perl_vendorlib}/* %{_mandir}/man3/DateTime::Precise.3pm.gz %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.05-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon May 30 2022 Jitka Plesnikova - 1.05-44 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 1.05-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.05-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 1.05-41 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 1.05-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.05-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jun 22 2020 Jitka Plesnikova - 1.05-38 - Perl 5.32 rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.05-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 1.05-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 30 2019 Jitka Plesnikova - 1.05-35 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.05-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.05-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 27 2018 Jitka Plesnikova - 1.05-32 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.05-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.05-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 07 2017 Igor Gnatenko - 1.05-29 - Rebuild due to bug in RPM (RHBZ #1468476) * Sun Jun 04 2017 Jitka Plesnikova - 1.05-28 - Perl 5.26 rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1.05-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat May 14 2016 Jitka Plesnikova - 1.05-26 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.05-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 1.05-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 03 2015 Jitka Plesnikova - 1.05-23 - Perl 5.22 rebuild * Tue Aug 26 2014 Jitka Plesnikova - 1.05-22 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.05-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.05-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.05-19 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.05-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.05-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 08 2012 Petr Pisar - 1.05-16 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.05-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Jul 20 2011 Iain Arnell 1.05-14 - update filtering for rpm 4.9 * Fri Jun 17 2011 Marcela Mašláňová - 1.05-13 - Perl mass rebuild * Thu Jun 09 2011 Marcela Mašláňová - 1.05-12 - Perl 5.14 mass rebuild * Sat Feb 19 2011 Iain Arnell 1.05-11 - update requires/provides filtering to use standard macros * Tue Feb 08 2011 Fedora Release Engineering - 1.05-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 1.05-9 - 661697 rebuild for fixing problems with vendorach/lib * Fri Apr 30 2010 Marcela Maslanova - 1.05-8 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.05-7 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.05-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.05-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Mar 5 2008 Tom "spot" Callaway - 1.05-4 - rebuild for new perl * Wed Jan 30 2008 Xavier Bachelot - 1.05-3 - Fix License: tag. - Remove '| :' for %%check section. * Fri Dec 21 2007 Xavier Bachelot - 1.05-2 - Clean up spec. * Thu Jul 27 2006 Xavier Bachelot - 1.05-1 - Initial build.