diff --git a/.cvsignore b/.cvsignore index 289c1e4..39310cc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,3 @@ -DateTime-0.34.tar.gz -DateTime-Locale-0.22.tar.gz -DateTime-TimeZone-0.48.tar.gz +DateTime-0.35.tar.gz +DateTime-Locale-0.3101.tar.gz +DateTime-TimeZone-0.54.tar.gz diff --git a/DateTime-LeapSecond-utf8.patch b/DateTime-LeapSecond-utf8.patch new file mode 100644 index 0000000..da09355 --- /dev/null +++ b/DateTime-LeapSecond-utf8.patch @@ -0,0 +1,16 @@ +--- DateTime-0.35/lib/DateTime/LeapSecond.pm.orig 2006-02-28 19:15:01.000000000 -0600 ++++ DateTime-0.35/lib/DateTime/LeapSecond.pm 2006-11-03 15:53:44.000000000 -0600 +@@ -159,11 +159,11 @@ + + =head1 AUTHOR + +-Flávio Soibelmann Glock, Efglock@pucrs.brE ++Flávio Soibelmann Glock, Efglock@pucrs.brE + + =head1 COPYRIGHT + +-Copyright (c) 2003 Flávio Soibelmann Glock. Copyright (c) 2004-2006 ++Copyright (c) 2003 Flávio Soibelmann Glock. Copyright (c) 2004-2006 + David Rolsky. All rights reserved. This program is free software; + you can redistribute it and/or modify it under the same terms as Perl + itself. diff --git a/perl-DateTime.spec b/perl-DateTime.spec index 577616f..b7e0d7f 100644 --- a/perl-DateTime.spec +++ b/perl-DateTime.spec @@ -1,9 +1,9 @@ -%define DTTimeZone_version 0.48 -%define DTLocale_version 0.22 +%define DTTimeZone_version 0.54 +%define DTLocale_version 0.3101 Name: perl-DateTime -Version: 0.34 -Release: 3%{?dist} +Version: 0.35 +Release: 1%{?dist} Epoch: 1 Summary: Date and time objects License: GPL or Artistic @@ -12,6 +12,7 @@ URL: http://search.cpan.org/dist/DateTime/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-%{version}.tar.gz Source1: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-%{DTTimeZone_version}.tar.gz Source2: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-%{DTLocale_version}.tar.gz +Patch0: DateTime-LeapSecond-utf8.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Module::Build) BuildRequires: perl(Params::Validate) >= 0.76 @@ -42,6 +43,10 @@ http://datetime.perl.org/faq.html. %setup -q -T -D -n DateTimeBundle -a 1 %setup -q -T -D -n DateTimeBundle -a 2 +cd DateTime-%{version} +%patch0 -p1 +cd - + cat > filter-provides.sh << EOF #!/bin/sh # Remove redundant unversioned provides of perl(DateTime) and perl(DateTime::TimeZone) @@ -88,12 +93,12 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; -chmod -R u+rwX,go+rX,go-w %{buildroot}/* +%{_fixperms} %{buildroot}/* # Move documentation into bundle area mkdir DT::Locale DT::TimeZone mv DateTime-%{version}/{CREDITS,Changes,LICENSE,README,TODO} . -mv DateTime-Locale-%{DTLocale_version}/{Changes,LICENSE.icu} DT::Locale +mv DateTime-Locale-%{DTLocale_version}/{Changes,LICENSE.cldr} DT::Locale mv DateTime-TimeZone-%{DTTimeZone_version}/{Changes,README} DT::TimeZone %check @@ -129,6 +134,14 @@ rm -rf %{buildroot} %{perl_vendorarch}/DateTime*.pm %changelog +* Fri Nov 03 2006 Steven Pritchard 1:0.35-1 +- Update to DateTime 0.35. +- Update to DateTime::Locale 0.3101. +- LICENSE.icu seems to have been renamed LICENSE.cldr. +- Update to DateTime::TimeZone 0.54. +- Use fixperms macro instead of our own chmod incantation. +- Convert DateTime::LeapSecond to UTF-8 to avoid a rpmlint warning. + * Tue Aug 29 2006 Steven Pritchard 1:0.34-3 - Update to DateTime::TimeZone 0.48. diff --git a/sources b/sources index aeb6ba6..8a1cee7 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -71285d93eba0f92e3285a9e011fc33e1 DateTime-0.34.tar.gz -bcf9fa78efa8d00fad1293b9d860ce75 DateTime-Locale-0.22.tar.gz -5c23bc4002a2b67585fd9fa24a3514e3 DateTime-TimeZone-0.48.tar.gz +3734eafb22059c1ad706edfee66036fd DateTime-0.35.tar.gz +1c2b7b145c4f321c61f2cf32a625e942 DateTime-Locale-0.3101.tar.gz +37bf508b02d941eef2a8bf2990dcca48 DateTime-TimeZone-0.54.tar.gz