Update to 1.48
- New upstream release 1.48 - The last release would die if Sub::Util was not available, but this should just be an optional requirement (GH#77, GH#78)
This commit is contained in:
parent
abbb4713a7
commit
430b9793f9
@ -1,16 +0,0 @@
|
||||
--- lib/DateTime/Duration.pm
|
||||
+++ lib/DateTime/Duration.pm
|
||||
@@ -274,9 +274,10 @@ sub subtract_duration { return $_[0]->ad
|
||||
|
||||
{
|
||||
my $check = validation_for(
|
||||
- name => '_check_multiply_params',
|
||||
- slurpy => 1,
|
||||
- params => [
|
||||
+ name => '_check_multiply_params',
|
||||
+ name_is_optional => 1,
|
||||
+ slurpy => 1,
|
||||
+ params => [
|
||||
{ type => t('Int') },
|
||||
],
|
||||
);
|
@ -3,13 +3,12 @@
|
||||
|
||||
Name: perl-DateTime
|
||||
Epoch: 2
|
||||
Version: 1.47
|
||||
Version: 1.48
|
||||
Release: 1%{?dist}
|
||||
Summary: Date and time object for Perl
|
||||
License: Artistic 2.0
|
||||
URL: http://search.cpan.org/dist/DateTime/
|
||||
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
|
||||
Patch0: DateTime-1.47-no-Sub::Util.patch
|
||||
# Build:
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
@ -80,9 +79,6 @@ believed to be the birth of Jesus Christ.
|
||||
%prep
|
||||
%setup -q -n DateTime-%{version}
|
||||
|
||||
# Support use without Sub::Util (GH#77, GH#78)
|
||||
%patch0
|
||||
|
||||
%build
|
||||
perl Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
@ -112,6 +108,11 @@ make test
|
||||
%{_mandir}/man3/DateTime::Types.3*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 26 2018 Paul Howarth <paul@city-fan.org> - 2:1.48-1
|
||||
- Update to 1.48
|
||||
- The last release would die if Sub::Util was not available, but this should
|
||||
just be an optional requirement (GH#77, GH#78)
|
||||
|
||||
* Mon Mar 26 2018 Paul Howarth <paul@city-fan.org> - 2:1.47-1
|
||||
- Update to 1.47
|
||||
- DateTime::Duration->multiply now only allows integer multipliers (GH#73)
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (DateTime-1.47.tar.gz) = f08fe5b74af00c92df8b125e590672fa6d54cf78e991c800f567920b1b175e0f1e6668baf4030fbdcc201fde01923f889b0b47343353a76786e223293b71145b
|
||||
SHA512 (DateTime-1.48.tar.gz) = 9c4de99eaace63cc0901ce1d0534ee7111ecd611601f09f32db9bcdae5847254819891b6fdded21a7551e4c1b08ad430ebbc8a5b4aa0e58172b0cf43582b6463
|
||||
|
Loading…
Reference in New Issue
Block a user