Blame SPECS/perl-DateTime.spec

f98197
Name:           perl-DateTime
f98197
Epoch:          2
ef3ea6
Version:        1.04
2ea68e
Release:        6%{?dist}
f98197
Summary:        Date and time object
ef3ea6
License:        (Artistic 2.0) and (GPL+ or Artistic)
f98197
Group:          Development/Libraries
f98197
URL:            http://search.cpan.org/dist/DateTime/
f98197
Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
2ea68e
# Restore object after failed truncate() call, bug #1095111, CPAN RT#93347,
2ea68e
# in 1.09
2ea68e
Patch0:         DateTime-1.06-Don-t-leave-the-object-in-a-modified-state-after-a-f.patch
2ea68e
# Add 2015-06-30 leap second, bug #1353509, in 1.20
2ea68e
Patch1:         DateTime-1.04-There-will-be-a-leap-second-on-June-30-2015.patch
2ea68e
# Add 2016-12-31 leap second, bug #1353509, in 1.34
2ea68e
Patch2:         DateTime-1.04-Add-leap-second-on-December-31-2016.patch
f98197
BuildRequires:  perl
2ea68e
BuildRequires:  perl(autodie)
2ea68e
BuildRequires:  perl(integer)
2ea68e
BuildRequires:  perl(lib)
f98197
BuildRequires:  perl(Module::Build)
f98197
BuildRequires:  perl(strict)
f98197
BuildRequires:  perl(warnings)
f98197
# Run-time:
f98197
BuildRequires:  perl(base)
f98197
BuildRequires:  perl(Carp)
f98197
BuildRequires:  perl(constant)
f98197
BuildRequires:  perl(DateTime::Locale) >= 0.41
f98197
BuildRequires:  perl(DateTime::TimeZone) >= 1.09
f98197
BuildRequires:  perl(integer)
f98197
BuildRequires:  perl(overload)
f98197
BuildRequires:  perl(Params::Validate) >= 0.76
f98197
BuildRequires:  perl(POSIX)
f98197
BuildRequires:  perl(Scalar::Util)
f98197
BuildRequires:  perl(Try::Tiny)
f98197
BuildRequires:  perl(vars)
f98197
BuildRequires:  perl(XSLoader)
f98197
# Tests:
ef3ea6
# Cwd not used
ef3ea6
# Test::DependentModules not used
f98197
BuildRequires:  perl(Test::Fatal)
f98197
BuildRequires:  perl(Test::More) >= 0.88
f98197
BuildRequires:  perl(utf8)
f98197
# Optional tests:
f98197
# circular dependency - perl(DateTime::Format::Strptime) >= 1.2000
f98197
BuildRequires:  perl(Storable)
f98197
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
f98197
Requires:       perl(XSLoader)
f98197
f98197
# not automatically detected
f98197
Provides:       perl(DateTimePP) = %{version}
f98197
Provides:       perl(DateTimePPExtra) = %{version}
f98197
f98197
%{?perl_default_filter}
f98197
# Filter under-specified dependencies
ef3ea6
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime::Locale|DateTime::TimeZone|Params::Validate)\\)$
f98197
f98197
%description
f98197
DateTime is a class for the representation of date/time combinations.  It
f98197
represents the Gregorian calendar, extended backwards in time before its
f98197
creation (in 1582). This is sometimes known as the "proleptic Gregorian
f98197
calendar". In this calendar, the first day of the calendar (the epoch), is the
f98197
first day of year 1, which corresponds to the date which was (incorrectly)
f98197
believed to be the birth of Jesus Christ.
f98197
f98197
%prep
f98197
%setup -q -n DateTime-%{version}
2ea68e
%patch0 -p1
2ea68e
%patch1 -p1
2ea68e
%patch2 -p1
2ea68e
./tools/leap_seconds_header.pl
f98197
f98197
%build
f98197
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
f98197
./Build
f98197
f98197
%install
f98197
./Build install destdir=%{buildroot} create_packlist=0
f98197
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
f98197
%{_fixperms} %{buildroot}/*
f98197
f98197
%check
f98197
./Build test
f98197
f98197
%files
f98197
%doc Changes CREDITS LICENSE README TODO
f98197
%{perl_vendorarch}/auto/*
f98197
%{perl_vendorarch}/DateTime*
f98197
%{_mandir}/man3/*
f98197
f98197
%changelog
2ea68e
* Wed May 07 2014 Petr Pisar <ppisar@redhat.com> - 2:1.04-6
2ea68e
- Restore object after failed truncate() call (bug #1095111)
2ea68e
- Add 2015-06-30 and 2016-12-31 leap seconds (bug #1353509)
2ea68e
ef3ea6
* Tue Jan 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.04-5
ef3ea6
- Fix license tag
ef3ea6
- Resolves: rhbz#1058691
ef3ea6
ef3ea6
* Tue Jan 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.04-4
ef3ea6
- Update license tag
ef3ea6
- Resolves: rhbz#1058691
ef3ea6
ef3ea6
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2:1.04-3
ef3ea6
- Mass rebuild 2014-01-24
ef3ea6
ef3ea6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2:1.04-2
ef3ea6
- Mass rebuild 2013-12-27
ef3ea6
ef3ea6
* Tue Dec 10 2013 Petr Pisar <ppisar@redhat.com> - 2:1.04-1
ef3ea6
- 1.04 bump
ef3ea6
f98197
* Tue Jun 25 2013 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.03-1
f98197
- 1.03 bump
f98197
f98197
* Tue Apr 02 2013 Petr Å abata <contyk@redhat.com> - 2:1.01-1
f98197
- 1.01 bump
f98197
f98197
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.78-2
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f98197
f98197
* Mon Nov 19 2012 Petr Pisar <ppisar@redhat.com> - 2:0.78-1
f98197
- 0.78 bump
f98197
f98197
* Thu Oct 18 2012 Petr Pisar <ppisar@redhat.com> - 2:0.77-1
f98197
- 0.77 bump
f98197
f98197
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-5
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f98197
f98197
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 2:0.70-4
f98197
- Perl 5.16 rebuild
f98197
f98197
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.70-3
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f98197
f98197
* Thu Aug 18 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-2
f98197
- Additional (Build)Requires from unofficial review
f98197
f98197
* Mon Aug 15 2011 Iain Arnell <iarnell@gmail.com> 2:0.70-1
f98197
- Unbundle DateTime::TimeZone and DateTime::Locale
f98197
- Bump epoch and revert to upstream versioning
f98197
- Specfile regenerated by cpanspec 1.78.
f98197
- Update description
f98197
f98197
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1:0.7000-3
f98197
- Perl mass rebuild
f98197
f98197
* Mon Jul 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-2
f98197
- update DateTime::TimeZone to 1.35 (Olson 2011h)
f98197
- add rpm 4.9 filtering macros
f98197
f98197
* Fri May 13 2011 Iain Arnell <iarnell@gmail.com> 1:0.7000-1
f98197
- update DateTime to 0.70
f98197
f98197
* Wed May 04 2011 Iain Arnell <iarnell@gmail.com> 1:0.6900-1
f98197
- update DateTime to 0.69
f98197
- update DateTime::TimeZone to 1.34 (Olson 2011g)
f98197
f98197
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-6
f98197
- fix the testing for loop
f98197
f98197
* Sun Apr 24 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-5
f98197
- update DateTime::TimeZone to 1.33 (Olson 2011f)
f98197
f98197
* Wed Apr 06 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-4
f98197
- update DateTime::TimeZone to 1.32 (Olson 2011e)
f98197
f98197
* Sat Mar 26 2011 Iain Arnell <iarnell@gmail.com> 1:0.6600-3
f98197
- update DateTime::TimeZone to 1.31
f98197
- DateTime::TimeZone no longer has Build.PL; use Makefile.PL
f98197
- whitespace cleanup
f98197
- clean up .packlist
f98197
f98197
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.6600-2
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f98197
f98197
* Sun Dec 12 2010 Steven Pritchard <steve@kspei.com> 1:0.6600-1
f98197
- Update DateTime to 0.66.
f98197
- Update DateTime::TimeZone to 1.26.
f98197
- Update URL for FAQ in description.
f98197
- BR Class::Load and parent.
f98197
f98197
* Sat Oct 09 2010 Iain Arnell <iarnell@gmail.com> 1:0.6300-1
f98197
- Update DateTime to 0.63
f98197
- Update DateTime::TimeZone to 1.22
f98197
- DateTime license changed from "GPL+ or Artistic" to "Artistic 2.0"
f98197
- Fix DTLocale/Changelog encoding
f98197
f98197
* Mon Jun 14 2010 Petr Sabata <psabata@redhat.com> - 1:0.5300-4
f98197
- perl-DateTime-Locale-0.45 update
f98197
f98197
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.5300-3
f98197
- Mass rebuild with perl-5.12.0
f98197
f98197
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-2
f98197
- new upstream version of DateTime-TimeZone
f98197
f98197
* Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1:0.5300-1
f98197
- new upstream version
f98197
- use Build.PL as Makefile.PL no longer exists
f98197
- use iconv to recode to utf-8, not a patch
f98197
- update BuildRequires
f98197
- drop Provides: perl(DateTime::TimeZoneCatalog), it is no longer there
f98197
- use filtering macros
f98197
f98197
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.4501-4
f98197
- rebuild against perl 5.10.1
f98197
f98197
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-3
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f98197
f98197
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4501-2
f98197
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f98197
f98197
* Tue Dec 09 2008 Steven Pritchard <steve@kspei.com> 1:0.4501-1
f98197
- Update to DateTime 0.4501.
f98197
f98197
* Mon Nov 10 2008 Steven Pritchard <steve@kspei.com> 1:0.4401-1
f98197
- Update to DateTime 0.4401.
f98197
- Update to DateTime::Locale 0.42.
f98197
- Update to DateTime::TimeZone 0.8301.
f98197
f98197
* Mon Sep 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-2
f98197
- Update to DateTime::TimeZone 0.7904.
f98197
f98197
* Tue Jul 15 2008 Steven Pritchard <steve@kspei.com> 1:0.4304-1
f98197
- Update to DateTime 0.4304.
f98197
- Update to DateTime::TimeZone 0.78.
f98197
- Update to DateTime::Locale 0.41.
f98197
f98197
* Tue Jul 08 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-2
f98197
- Update to DateTime::TimeZone 0.7701.
f98197
f98197
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.4302-1
f98197
- Update to DateTime 0.4302.
f98197
- Update to DateTime::TimeZone 0.77.
f98197
- Update to DateTime::Locale 0.4001.
f98197
- BR List::MoreUtils.
f98197
- Define IS_MAINTAINER so we run the pod tests.
f98197
f98197
* Thu May 15 2008 Steven Pritchard <steve@kspei.com> 1:0.42-1
f98197
- Update to DateTime 0.42.
f98197
- Update to DateTime::TimeZone 0.75.
f98197
- Update FAQ URL in description.
f98197
f98197
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.41-5
f98197
- Rebuild for perl 5.10 (again)
f98197
f98197
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.41-4
f98197
- Autorebuild for GCC 4.3
f98197
f98197
* Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.41-3
f98197
- rebuild for new perl
f98197
f98197
* Tue Dec 11 2007 Steven Pritchard <steve@kspei.com> 1:0.41-2
f98197
- Update License tag.
f98197
- Update to DateTime::TimeZone 0.70.
f98197
f98197
* Mon Sep 17 2007 Steven Pritchard <steve@kspei.com> 1:0.41-1
f98197
- Update to DateTime 0.41.
f98197
- Update to DateTime::Locale 0.35.
f98197
- Update to DateTime::TimeZone 0.67.
f98197
f98197
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2
f98197
- Rebuild for selinux ppc32 issue.
f98197
f98197
* Sun Jul 22 2007 Steven Pritchard <steve@kspei.com> 1:0.39-1
f98197
- Update to DateTime 0.39.
f98197
- Update to DateTime::TimeZone 0.6603.
f98197
f98197
* Thu Jul 05 2007 Steven Pritchard <steve@kspei.com> 1:0.38-2
f98197
- BR Test::Output.
f98197
f98197
* Mon Jul 02 2007 Steven Pritchard <steve@kspei.com> 1:0.38-1
f98197
- Update to DateTime 0.38.
f98197
- Update to DateTime::TimeZone 0.6602.
f98197
- BR Test::Pod::Coverage.
f98197
f98197
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-3
f98197
- Drop BR DateTime::Format::* to avoid circular build deps.
f98197
f98197
* Mon Apr 02 2007 Steven Pritchard <steve@kspei.com> 1:0.37-2
f98197
- Filter Win32::TieRegistry dependency.
f98197
- Do the provides filter like we do in cpanspec.
f98197
- Drop some macro usage.
f98197
f98197
* Sat Mar 31 2007 Steven Pritchard <steve@kspei.com> 1:0.37-1
f98197
- Update to DateTime 0.37.
f98197
- Update to DateTime::TimeZone 0.63.
f98197
f98197
* Tue Mar 13 2007 Steven Pritchard <steve@kspei.com> 1:0.36-2
f98197
- Update to DateTime::Locale 0.34.
f98197
- Update to DateTime::TimeZone 0.62.
f98197
f98197
* Mon Jan 22 2007 Steven Pritchard <steve@kspei.com> 1:0.36-1
f98197
- Update to Date::Time 0.36.
f98197
- Update to DateTime::Locale 0.33.
f98197
- Update to DateTime::TimeZone 0.59.
f98197
f98197
* Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 1:0.35-1
f98197
- Update to DateTime 0.35.
f98197
- Update to DateTime::Locale 0.3101.
f98197
- LICENSE.icu seems to have been renamed LICENSE.cldr.
f98197
- Update to DateTime::TimeZone 0.54.
f98197
- Use fixperms macro instead of our own chmod incantation.
f98197
- Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning.
f98197
f98197
* Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3
f98197
- Update to DateTime::TimeZone 0.48.
f98197
f98197
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.34-2
f98197
- Update to DateTime::TimeZone 0.47.
f98197
f98197
* Mon Aug 14 2006 Steven Pritchard <steve@kspei.com> 1:0.34-1
f98197
- Update to DateTime 0.34.
f98197
f98197
* Fri Jul 28 2006 Steven Pritchard <steve@kspei.com> 1:0.32-1
f98197
- Update to DateTime 0.32.
f98197
- Improve Summary, description, and source URLs.
f98197
- Fix find option order.
f98197
f98197
* Thu Jul 13 2006 Steven Pritchard <steve@kspei.com> 1:0.31-2
f98197
- BR DateTime::Format::ICal and DateTime::Format::Strptime for better
f98197
  test coverage.
f98197
f98197
* Wed May 24 2006 Steven Pritchard <steve@kspei.com> 1:0.31-1
f98197
- Update DateTime to 0.31.
f98197
- Update DateTime::TimeZone to 0.46.
f98197
f98197
* Mon Feb 27 2006 Steven Pritchard <steve@kspei.com> 1:0.30-3
f98197
- Bump Epoch (argh, 0.2901 > 0.30 to rpm)
f98197
- Update DateTime::TimeZone to 0.42
f98197
f98197
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.30-2
f98197
- Update DateTime::TimeZone to 0.41
f98197
f98197
* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 0.30-1
f98197
- Update DateTime to 0.30
f98197
- Update DateTime::TimeZone to 0.40
f98197
f98197
* Fri Sep 16 2005 Paul Howarth <paul@city-fan.org> 0.2901-2
f98197
- Unpack each tarball only once
f98197
- Use Module::Build's build script where available
f98197
- Help each module find the others when needed
f98197
- Clean up files list
f98197
- Include additional documentation from DT::Locale & DT::TimeZone
f98197
- Add BR: perl(File::Find::Rule) & perl(Test::Pod) to improve test coverage
f98197
- Remove unversioned provides of perl(DateTime) & perl(DateTime::TimeZone)
f98197
f98197
* Wed Aug 31 2005 Steven Pritchard <steve@kspei.com> 0.2901-1
f98197
- Specfile autogenerated.