[perl-DateTime-Format-Strptime] Update to 1.55
Paul Howarth
pghmcfc at fedoraproject.org
Sun May 4 19:23:45 UTC 2014
commit f0b5421e6dc7af2289d0d169739c0b55c12f1e49
Author: Paul Howarth <paul at city-fan.org>
Date: Sun May 4 20:21:21 2014 +0100
Update to 1.55
- New upstream release 1.55 (rpm version 1.5500 to maintain upgrade path)
- If diagnostic is true for an object, it will now use Test::More::diag()
under the test harness rather than printing to STDOUT
- The %%z specifier will now parse UTC offsets with a colon like "+01:00"
(CPAN RT#91458)
- Made the regexes to parse day and months abbreviations and names a little
more specificl as it stood, they tended to eat up more non-word characters
than they should, so a pattern like '%a%m%d_%Y' broke on a date like
'Fri0215_2013' - the day name would be parsed as 'Fri02' and the month
would not be parsed at all (CPAN RT#93863, CPAN RT#93865)
- Specify all dependencies
- Use DESTDIR rather than PERL_INSTALL_ROOT
perl-DateTime-Format-Strptime.spec | 26 +++++++++++++++++++++-----
sources | 2 +-
2 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/perl-DateTime-Format-Strptime.spec b/perl-DateTime-Format-Strptime.spec
index 21c258e..4bd6667 100644
--- a/perl-DateTime-Format-Strptime.spec
+++ b/perl-DateTime-Format-Strptime.spec
@@ -1,9 +1,9 @@
# RPM and CPAN versioning don't match
-%global cpanversion 1.54
+%global cpanversion 1.55
Name: perl-DateTime-Format-Strptime
-Version: 1.5400
-Release: 3%{?dist}
+Version: 1.5500
+Release: 1%{?dist}
Summary: Parse and format strp and strf time patterns
License: GPL+ or Artistic
Group: Development/Libraries
@@ -11,15 +11,17 @@ URL: http://search.cpan.org/dist/DateTime-Format-Strptime/
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-%{cpanversion}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
+BuildRequires: perl
BuildRequires: perl(Carp)
-BuildRequires: perl(Class::ISA)
BuildRequires: perl(DateTime) >= 1.00
BuildRequires: perl(DateTime::Locale) >= 0.45
BuildRequires: perl(DateTime::TimeZone) >= 0.79
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl(Params::Validate) >= 0.64
+BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 0.88
+BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -37,7 +39,7 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT
@@ -53,6 +55,20 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/DateTime::Format::Strptime.3pm*
%changelog
+* Sun May 4 2014 Paul Howarth <paul at city-fan.org> - 1.5500-1
+- Update to 1.55 (rpm version 1.5500 to maintain upgrade path)
+ - If diagnostic is true for an object, it will now use Test::More::diag()
+ under the test harness rather than printing to STDOUT
+ - The %%z specifier will now parse UTC offsets with a colon like "+01:00"
+ (CPAN RT#91458)
+ - Made the regexes to parse day and months abbreviations and names a little
+ more specificl as it stood, they tended to eat up more non-word characters
+ than they should, so a pattern like '%%a%%m%%d_%%Y' broke on a date like
+ 'Fri0215_2013' - the day name would be parsed as 'Fri02' and the month
+ would not be parsed at all (CPAN RT#93863, CPAN RT#93865)
+- Specify all dependencies
+- Use DESTDIR rather than PERL_INSTALL_ROOT
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5400-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index c79559d..577915b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ca0fa912861f360f9aa535c6b4c0282f DateTime-Format-Strptime-1.54.tar.gz
+8613390f37ac9d80db67bc69e62818a7 DateTime-Format-Strptime-1.55.tar.gz
More information about the scm-commits
mailing list