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:
parent
be47168b08
commit
f0b5421e6d
@ -1,9 +1,9 @@
|
|||||||
# RPM and CPAN versioning don't match
|
# RPM and CPAN versioning don't match
|
||||||
%global cpanversion 1.54
|
%global cpanversion 1.55
|
||||||
|
|
||||||
Name: perl-DateTime-Format-Strptime
|
Name: perl-DateTime-Format-Strptime
|
||||||
Version: 1.5400
|
Version: 1.5500
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Parse and format strp and strf time patterns
|
Summary: Parse and format strp and strf time patterns
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
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
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Strptime-%{cpanversion}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Class::ISA)
|
|
||||||
BuildRequires: perl(DateTime) >= 1.00
|
BuildRequires: perl(DateTime) >= 1.00
|
||||||
BuildRequires: perl(DateTime::Locale) >= 0.45
|
BuildRequires: perl(DateTime::Locale) >= 0.45
|
||||||
BuildRequires: perl(DateTime::TimeZone) >= 0.79
|
BuildRequires: perl(DateTime::TimeZone) >= 0.79
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
BuildRequires: perl(Params::Validate) >= 0.64
|
BuildRequires: perl(Params::Validate) >= 0.64
|
||||||
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
BuildRequires: perl(vars)
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -37,7 +39,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
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 {} \;
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
%{_fixperms} $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -53,6 +55,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/DateTime::Format::Strptime.3pm*
|
%{_mandir}/man3/DateTime::Format::Strptime.3pm*
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user