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
This commit is contained in:
Paul Howarth 2014-05-04 20:21:21 +01:00
parent be47168b08
commit f0b5421e6d
2 changed files with 22 additions and 6 deletions

View File

@ -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@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@lists.fedoraproject.org> - 1.5400-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

View File

@ -1 +1 @@
ca0fa912861f360f9aa535c6b4c0282f DateTime-Format-Strptime-1.54.tar.gz
8613390f37ac9d80db67bc69e62818a7 DateTime-Format-Strptime-1.55.tar.gz