%global pkg_name Time-Piece %global pkg_version 1.3401 %global rpm_pkg_version 1.34_01 %global rpm_pkg_release 1.n0i.15 Summary: Object Oriented time objects Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: https://cpan.metacpan.org/modules/by-module/Time/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Exporter) >= 5.57 BuildRequires: perl(Scalar::Util) %description This module supercedes Time::Object (and has a better name). At this time the module is almost identical to Time::Object, with the exception of strptime support. People using Time::Object should migrate over to Time::Piece as they are able to do so. No further development will occur to Time::Object. This module replaces the standard localtime and gmtime functions with implementations that return objects. It does so in a backwards compatible manner, so that using localtime/gmtime in the way documented in perlfunc will still return what you expect. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Mon Apr 13 2020 Marius Feraru - 1.34_01-1.n0i.15.1.3401 - version 1.3401 * Wed Mar 18 2020 Marius Feraru - 1.34-1.n0i.14 - version 1.34 * Mon Oct 08 2018 Marius Feraru - 1.33-1.n0i.13 - version 1.33 * Fri Jul 13 2018 Marius Feraru - 1.32_04-1.n0i.12.1.3204 - version 1.3204 * Mon Nov 19 2007 Marius Feraru - 1.12-1.n0i.11 - version 1.12 - spec update (new reb00t build tools) * Tue May 22 2007 Marius Feraru - 1.11-1.n0i.10 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - rebuild on perl 5.8.8 - version 1.11 * Sat Mar 04 2006 Marius Feraru - 1.09-1.n0i.9 - version 1.09 * Sun Jul 24 2005 Marius Feraru 1.08-2.n0i.8 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:1.08-1.n0i.7 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:1.08-1.n0i.6 - automatic rebuild (perl 5.8.6) * Fri Apr 30 2004 Marius Feraru 0:1.08-1.n0i.5 - automatic rebuild * Thu Apr 22 2004 Marius Feraru 0:1.08-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild (perl 5.8.4) * Fri Jan 23 2004 Marius FERARU 0:1.08-0.n0i.3 - automatic rebuild (perl v.5.8.3) * Tue Dec 30 2003 Marius FERARU 0:1.08-0.n0i.2 - rebuilt on perl 5.8.2 / Fedora 1 Devel (tobe FC2) * Mon Nov 03 2003 Marius FERARU 0:1.08-0.n0i.1 - version 1.08 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001