|
|
24dee3 |
Name: perl-TimeDate
|
|
|
24dee3 |
Version: 2.30
|
|
|
24dee3 |
Epoch: 1
|
|
|
24dee3 |
Release: 15%{?dist}
|
|
|
24dee3 |
Summary: A Perl module for time and date manipulation
|
|
|
24dee3 |
Group: Development/Libraries
|
|
|
24dee3 |
License: GPL+ or Artistic
|
|
|
24dee3 |
URL: http://search.cpan.org/dist/TimeDate/
|
|
|
24dee3 |
Source0: http://www.cpan.org/authors/id/G/GB/GBARR/TimeDate-%{version}.tar.gz
|
|
|
24dee3 |
# Adjusts tests to year 2020, bug #1821729, in 2.31.
|
|
|
24dee3 |
Patch0: TimeDate-2.30-Update-Test-t-getdate.t.patch
|
|
|
24dee3 |
BuildArch: noarch
|
|
|
24dee3 |
BuildRequires: perl-generators
|
|
|
24dee3 |
BuildRequires: perl(base)
|
|
|
24dee3 |
BuildRequires: perl(Carp)
|
|
|
24dee3 |
BuildRequires: perl(Exporter)
|
|
|
24dee3 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
24dee3 |
BuildRequires: perl(strict)
|
|
|
24dee3 |
BuildRequires: perl(Test::More)
|
|
|
24dee3 |
BuildRequires: perl(Time::Local)
|
|
|
24dee3 |
BuildRequires: perl(utf8)
|
|
|
24dee3 |
BuildRequires: perl(vars)
|
|
|
24dee3 |
BuildRequires: perl(warnings)
|
|
|
24dee3 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
24dee3 |
|
|
|
24dee3 |
%description
|
|
|
24dee3 |
This module includes a number of smaller modules suited for
|
|
|
24dee3 |
manipulation of time and date strings with Perl. In particular, the
|
|
|
24dee3 |
Date::Format and Date::Parse modules can display and read times and
|
|
|
24dee3 |
dates in various formats, providing a more reliable interface to
|
|
|
24dee3 |
textual representations of points in time.
|
|
|
24dee3 |
|
|
|
24dee3 |
%prep
|
|
|
24dee3 |
%setup -q -n TimeDate-%{version}
|
|
|
24dee3 |
%patch0 -p1
|
|
|
24dee3 |
# ChangeLog is ISO-8859-1 encoded
|
|
|
24dee3 |
iconv -f iso-8859-1 -t utf8 < ChangeLog > ChangeLog.utf8
|
|
|
24dee3 |
mv ChangeLog.utf8 ChangeLog
|
|
|
24dee3 |
# Bogus exec permissions on some language modules
|
|
|
24dee3 |
chmod -x lib/Date/Language/{Russian_cp1251,Russian_koi8r,Turkish}.pm
|
|
|
24dee3 |
|
|
|
24dee3 |
%build
|
|
|
24dee3 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
24dee3 |
make %{?_smp_mflags}
|
|
|
24dee3 |
|
|
|
24dee3 |
%install
|
|
|
24dee3 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
24dee3 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
24dee3 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
24dee3 |
|
|
|
24dee3 |
%check
|
|
|
24dee3 |
make test
|
|
|
24dee3 |
|
|
|
24dee3 |
%files
|
|
|
24dee3 |
%doc README ChangeLog
|
|
|
24dee3 |
%{perl_vendorlib}/Date/
|
|
|
24dee3 |
%{perl_vendorlib}/Time/
|
|
|
24dee3 |
%{_mandir}/man3/*.3*
|
|
|
24dee3 |
|
|
|
24dee3 |
%changelog
|
|
|
24dee3 |
* Tue Apr 07 2020 Petr Pisar <ppisar@redhat.com> - 1:2.30-15
|
|
|
24dee3 |
- Adjusts tests to year 2020 (bug #1821729)
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-14
|
|
|
24dee3 |
- Rebuild with enable hardening (bug #1636329)
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-13
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-12
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-11
|
|
|
24dee3 |
- Perl 5.26 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-10
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-9
|
|
|
24dee3 |
- Perl 5.24 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.30-8
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-7
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-6
|
|
|
24dee3 |
- Perl 5.22 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.30-5
|
|
|
24dee3 |
- Perl 5.20 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-4
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-3
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1:2.30-2
|
|
|
24dee3 |
- Perl 5.18 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Tue Feb 19 2013 Petr Ĺ abata <contyk@redhat.com> - 1:2.30-1
|
|
|
24dee3 |
- 2.30 bump
|
|
|
24dee3 |
- Fix the buildtime dependencies
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-11
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Nov 23 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-10
|
|
|
24dee3 |
- Remove perl(base) from BR
|
|
|
24dee3 |
- Package README and ChangeLog
|
|
|
24dee3 |
- Replace PERL_INSTALL_ROOT with DESTDIR
|
|
|
24dee3 |
- Remove deleting empty directories
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.20-9
|
|
|
24dee3 |
- Specify all dependencies.
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-8
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:1.20-7
|
|
|
24dee3 |
- Perl 5.16 rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-6
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Mon Jun 20 2011 Petr Sabata <contyk@redhat.com> - 1:1.20-5
|
|
|
24dee3 |
- Perl mass rebuild
|
|
|
24dee3 |
- Buildroot and defattr cleanup
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.20-4
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-3
|
|
|
24dee3 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:1.20-2
|
|
|
24dee3 |
- Mass rebuild with perl-5.12.0
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Dec 23 2009 Paul Howarth <paul@city-fan.org> - 1:1.20-1
|
|
|
24dee3 |
- update to 1.20
|
|
|
24dee3 |
- recode documentation as UTF-8
|
|
|
24dee3 |
- fix bogus exec permissions to placate rpmlint
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1:1.16-12
|
|
|
24dee3 |
- rebuild against perl 5.10.1
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-11
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.16-10
|
|
|
24dee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-9
|
|
|
24dee3 |
- fix license tag
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:1.16-8
|
|
|
24dee3 |
- Rebuild for perl 5.10 (again)
|
|
|
24dee3 |
|
|
|
24dee3 |
* Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:1.16-7
|
|
|
24dee3 |
- rebuild for new perl
|
|
|
24dee3 |
|
|
|
24dee3 |
* Thu Jun 28 2007 Robin Norwood <rnorwood@redhat.com> 1:1.16-6
|
|
|
24dee3 |
- Bump release to outpace RHEL5
|
|
|
24dee3 |
- Add dist tag to release field
|
|
|
24dee3 |
|
|
|
24dee3 |
* Tue Mar 20 2007 Steven Pritchard <steve@kspei.com> 1:1.16-4
|
|
|
24dee3 |
- Fix find option order.
|
|
|
24dee3 |
- Use fixperms macro instead of our own chmod incantation.
|
|
|
24dee3 |
- BR ExtUtils::MakeMaker.
|
|
|
24dee3 |
- Remove check macro cruft.
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.16-3.2.1
|
|
|
24dee3 |
- rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 1:1.16-3.2
|
|
|
24dee3 |
- rebuild for new perl-5.8.8
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
24dee3 |
- rebuilt for new gcc
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
24dee3 |
- rebuilt for new gcj
|
|
|
24dee3 |
|
|
|
24dee3 |
* Mon Apr 25 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:1.16-3
|
|
|
24dee3 |
- Bring up to date with current Fedora.Extras perl spec template. (#155914)
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 1:1.16-2
|
|
|
24dee3 |
- rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 1:1.16-1
|
|
|
24dee3 |
- update to 1.16, bump epoch since previous version was 1.1301
|
|
|
24dee3 |
|
|
|
24dee3 |
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
|
24dee3 |
- automated release bump and build
|
|
|
24dee3 |
|
|
|
24dee3 |
* Tue Aug 6 2002 Chip Turner <cturner@localhost.localdomain>
|
|
|
24dee3 |
- update to 1.301
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
24dee3 |
- automated rebuild
|
|
|
24dee3 |
|
|
|
24dee3 |
* Wed Oct 24 2001 root <root@redhat.com>
|
|
|
24dee3 |
- Spec file was autogenerated.
|