Accepting request 500295 from devel:languages:perl:autoupdate
- updated to 1.43 see /usr/share/doc/packages/perl-DateTime/Changes 1.43 2017-05-29 - Added a small optimization for boolification overloading. Rather than relying on a fallback to stringification, we now return true directly, which is a little faster in cases like "if ($might_be_dt) { ... }". - The datetime() method now accepts a single argument to use as the separate between the date and time portion. This defaults to "T". - updated to 1.42 see /usr/share/doc/packages/perl-DateTime/Changes 1.42 2016-12-25 - The DateTime::Duration->add and ->subtract methods now accept DateTime::Duration objects. This used to work by accident, but this is now done intentionally (with docs and tests). Reported by Petr Pisar. GitHub #50. 1.41 2016-11-16 - The DateTime->add and ->subtract methods now accept DateTime::Duration objects. This used to work by accident, but this is now done intentionally (with docs and tests). Based on PR #45 from Sam Kington. 1.40 2016-11-12 OBS-URL: https://build.opensuse.org/request/show/500295 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DateTime?expand=0&rev=76
This commit is contained in:
parent
5fbe7bc0a0
commit
b8e3e10238
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc60e430c27d7693df5af7b1ee33a4f03308677512790ae3c608e70c0760e159
|
||||
size 235407
|
3
DateTime-1.43.tar.gz
Normal file
3
DateTime-1.43.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:143beb1e358364a704a88e5a1f02cf6875e6c6274506f40c3147fd7f3466f975
|
||||
size 238939
|
@ -1,3 +1,80 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 05:27:51 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.43
|
||||
see /usr/share/doc/packages/perl-DateTime/Changes
|
||||
|
||||
1.43 2017-05-29
|
||||
|
||||
- Added a small optimization for boolification overloading. Rather than
|
||||
relying on a fallback to stringification, we now return true directly, which
|
||||
is a little faster in cases like "if ($might_be_dt) { ... }".
|
||||
|
||||
- The datetime() method now accepts a single argument to use as the separate
|
||||
between the date and time portion. This defaults to "T".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 25 07:50:27 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.42
|
||||
see /usr/share/doc/packages/perl-DateTime/Changes
|
||||
|
||||
1.42 2016-12-25
|
||||
|
||||
- The DateTime::Duration->add and ->subtract methods now accept
|
||||
DateTime::Duration objects. This used to work by accident, but this is now
|
||||
done intentionally (with docs and tests). Reported by Petr Pisar. GitHub
|
||||
#50.
|
||||
|
||||
|
||||
1.41 2016-11-16
|
||||
|
||||
- The DateTime->add and ->subtract methods now accept DateTime::Duration
|
||||
objects. This used to work by accident, but this is now done intentionally
|
||||
(with docs and tests). Based on PR #45 from Sam Kington.
|
||||
|
||||
|
||||
1.40 2016-11-12
|
||||
|
||||
- Switched from RT to the GitHub issue tracker.
|
||||
|
||||
|
||||
1.39 2016-09-17
|
||||
|
||||
- Bump minimum required Perl to 5.8.4 from 5.8.1. Looking at CPAN Testers,
|
||||
this distro hasn't actually passed with earlier Perl versions since
|
||||
1.35. I'm not explicitly testing with anything earlier than 5.8.8
|
||||
|
||||
|
||||
1.38 2016-09-16
|
||||
|
||||
- This release includes changes from past trial releases to switch from
|
||||
Params::Validate and Params::ValidationCompiler. Relevant release notes from
|
||||
those trial releases are repeated here for clarity.
|
||||
|
||||
- Replaced Params::Validate with Params::ValidationCompiler and Specio. In my
|
||||
benchmarks this makes constructing a new DateTime object about 14%
|
||||
faster. However, it slows down module load time by about 100 milliseconds
|
||||
(1/10 of a second) on my desktop system with a primed cache (so really
|
||||
measuring compile time, not disk load time).
|
||||
|
||||
- When you pass a locale to $dt->set you will now get a warning suggesting you
|
||||
should use $dt->set_locale instead. The previous trial releases didn't allow
|
||||
locale to be passed at all, which broke a lot of modules. I've sent PRs, but
|
||||
for now the parameter should be allowed (but discouraged). Reported by
|
||||
Slaven Rezić. RT #115420.
|
||||
|
||||
- Removed the long-deprecated DateTime->DefaultLanguage method. Use
|
||||
DefaultLocale instead.
|
||||
|
||||
- Removed the long-deprecated "language" constructor parameter. Use "locale"
|
||||
instead.
|
||||
|
||||
|
||||
1.37 2016-08-14 (TRIAL RELEASE)
|
||||
|
||||
- Require the latest Params::ValidationCompiler (0.11).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 7 05:23:00 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-DateTime
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,35 +17,49 @@
|
||||
|
||||
|
||||
Name: perl-DateTime
|
||||
Version: 1.36
|
||||
Version: 1.43
|
||||
Release: 0
|
||||
%define cpan_name DateTime
|
||||
Summary: Date and Time Object for Perl
|
||||
License: Artistic-2.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/DateTime/
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(CPAN::Meta::Check) >= 0.011
|
||||
BuildRequires: perl(CPAN::Meta::Requirements)
|
||||
BuildRequires: perl(DateTime::Locale) >= 1.050000
|
||||
BuildRequires: perl(DateTime::TimeZone) >= 2.00
|
||||
BuildRequires: perl(DateTime::Locale) >= 1.060000
|
||||
BuildRequires: perl(DateTime::TimeZone) >= 2.02
|
||||
BuildRequires: perl(Dist::CheckConflicts) >= 0.02
|
||||
BuildRequires: perl(Params::Validate) >= 1.03
|
||||
BuildRequires: perl(Params::ValidationCompiler) >= 0.13
|
||||
BuildRequires: perl(Specio) >= 0.18
|
||||
BuildRequires: perl(Specio::Declare)
|
||||
BuildRequires: perl(Specio::Exporter)
|
||||
BuildRequires: perl(Specio::Library::Builtins)
|
||||
BuildRequires: perl(Specio::Library::Numeric)
|
||||
BuildRequires: perl(Specio::Library::String)
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Test::Warnings) >= 0.005
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(namespace::autoclean) >= 0.19
|
||||
Requires: perl(DateTime::Locale) >= 1.050000
|
||||
Requires: perl(DateTime::TimeZone) >= 2.00
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(DateTime::Locale) >= 1.060000
|
||||
Requires: perl(DateTime::TimeZone) >= 2.02
|
||||
Requires: perl(Dist::CheckConflicts) >= 0.02
|
||||
Requires: perl(Params::Validate) >= 1.03
|
||||
Requires: perl(Params::ValidationCompiler) >= 0.13
|
||||
Requires: perl(Specio) >= 0.18
|
||||
Requires: perl(Specio::Declare)
|
||||
Requires: perl(Specio::Exporter)
|
||||
Requires: perl(Specio::Library::Builtins)
|
||||
Requires: perl(Specio::Library::Numeric)
|
||||
Requires: perl(Specio::Library::String)
|
||||
Requires: perl(Try::Tiny)
|
||||
Requires: perl(namespace::autoclean) >= 0.19
|
||||
Requires: perl(parent)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@ -83,6 +97,7 @@ For infinite datetimes, please see the DateTime::Infinite module.
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING.md CREDITS leaptab.txt LICENSE README.md TODO
|
||||
%doc appveyor.yml Changes CONTRIBUTING.md CREDITS leaptab.txt README.md TODO
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user