pghmcfc pushed to perl-DateTime (perl-DateTime-1.21-1.fc24). "Update to 1.21 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Nov 13 11:08:11 UTC 2015


From 69df12bb3aa096168d011c4d3b7fb20252ae61a2 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Fri, 13 Nov 2015 10:50:57 +0000
Subject: Update to 1.21

- New upstream release 1.21
  - Make all tests pass with the current DateTime::Locale
- Explicitly BR: perl-devel, needed for EXTERN.h
---
 perl-DateTime.spec | 27 +++++++++++++++++++--------
 sources            |  2 +-
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/perl-DateTime.spec b/perl-DateTime.spec
index 1d7733c..3794e00 100644
--- a/perl-DateTime.spec
+++ b/perl-DateTime.spec
@@ -1,20 +1,19 @@
 Name:           perl-DateTime
 Epoch:          2
-Version:        1.20
+Version:        1.21
 Release:        1%{?dist}
 Summary:        Date and time object for Perl
-# Even though lib/DateTime.xs says `the same as Perl', it also points to the
-# LICENSE file (Artistic 2.0).  Reading the changelog entry for v0.56 suggests
-# this was simply overlooked when re-licensing.
-# Reported as rt#102546
 License:        Artistic 2.0
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime/
 Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  gcc
+BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
+BuildRequires:  perl-devel
+BuildRequires:  perl(Module::Build) >= 0.28
 # Run-time:
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
@@ -26,9 +25,12 @@ BuildRequires:  perl(overload)
 BuildRequires:  perl(Params::Validate) >= 1.03
 BuildRequires:  perl(POSIX)
 BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Try::Tiny)
 BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 BuildRequires:  perl(warnings::register)
+# Optional Run-time:
 BuildRequires:  perl(XSLoader)
 # Tests:
 # Cwd not used
@@ -39,6 +41,7 @@ BuildRequires:  perl(Test::More) >= 0.96
 BuildRequires:  perl(Test::Warnings) >= 0.005
 BuildRequires:  perl(utf8)
 # Optional tests:
+BuildRequires:  perl(CPAN::Meta) >= 2.120900
 # circular dependency - perl(DateTime::Format::Strptime) >= 1.2000
 # Pod::Coverage::TrustPod not used
 # Pod::Wordlist not used
@@ -52,10 +55,13 @@ BuildRequires:  perl(Storable)
 # Test::Pod::Coverage 1.08 not used
 # Test::Spelling 0.12 not used
 # Test::Version not used
+BuildRequires:  perl(Test::Warn)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(XSLoader)
 
+# Avoid provides from DateTime.so
 %{?perl_default_filter}
+
 # Filter under-specified dependencies
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DateTime::Locale|DateTime::TimeZone|Params::Validate)\\)$
 
@@ -94,6 +100,11 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 %{_mandir}/man3/DateTime::LeapSecond.3*
 
 %changelog
+* Fri Nov 13 2015 Paul Howarth <paul at city-fan.org> - 2:1.21-1
+- Update to 1.21
+  - Make all tests pass with the current DateTime::Locale
+- Explicitly BR: perl-devel, needed for EXTERN.h
+
 * Fri Jul 24 2015 Petr Pisar <ppisar at redhat.com> - 2:1.20-1
 - 1.20 bump
 
diff --git a/sources b/sources
index d97c8d9..73fdf8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9cc3afee0f5cf6fb786aa7e2e32a89bd  DateTime-1.20.tar.gz
+15ba32ede10465fd8a9c26fbbb5f1945  DateTime-1.21.tar.gz
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-DateTime.git/commit/?h=perl-DateTime-1.21-1.fc24&id=69df12bb3aa096168d011c4d3b7fb20252ae61a2


More information about the perl-devel mailing list