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.
This commit is contained in:
parent
910946f103
commit
4ee867982f
@ -1,3 +1,3 @@
|
|||||||
DateTime-0.34.tar.gz
|
DateTime-0.35.tar.gz
|
||||||
DateTime-Locale-0.22.tar.gz
|
DateTime-Locale-0.3101.tar.gz
|
||||||
DateTime-TimeZone-0.48.tar.gz
|
DateTime-TimeZone-0.54.tar.gz
|
||||||
|
16
DateTime-LeapSecond-utf8.patch
Normal file
16
DateTime-LeapSecond-utf8.patch
Normal file
@ -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, E<lt>fglock@pucrs.brE<gt>
|
||||||
|
+Flávio Soibelmann Glock, E<lt>fglock@pucrs.brE<gt>
|
||||||
|
|
||||||
|
=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.
|
@ -1,9 +1,9 @@
|
|||||||
%define DTTimeZone_version 0.48
|
%define DTTimeZone_version 0.54
|
||||||
%define DTLocale_version 0.22
|
%define DTLocale_version 0.3101
|
||||||
|
|
||||||
Name: perl-DateTime
|
Name: perl-DateTime
|
||||||
Version: 0.34
|
Version: 0.35
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Date and time objects
|
Summary: Date and time objects
|
||||||
License: GPL or Artistic
|
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
|
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
|
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
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(Params::Validate) >= 0.76
|
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 1
|
||||||
%setup -q -T -D -n DateTimeBundle -a 2
|
%setup -q -T -D -n DateTimeBundle -a 2
|
||||||
|
|
||||||
|
cd DateTime-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
cd -
|
||||||
|
|
||||||
cat > filter-provides.sh << EOF
|
cat > filter-provides.sh << EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Remove redundant unversioned provides of perl(DateTime) and perl(DateTime::TimeZone)
|
# 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} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
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
|
# Move documentation into bundle area
|
||||||
mkdir DT::Locale DT::TimeZone
|
mkdir DT::Locale DT::TimeZone
|
||||||
mv DateTime-%{version}/{CREDITS,Changes,LICENSE,README,TODO} .
|
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
|
mv DateTime-TimeZone-%{DTTimeZone_version}/{Changes,README} DT::TimeZone
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -129,6 +134,14 @@ rm -rf %{buildroot}
|
|||||||
%{perl_vendorarch}/DateTime*.pm
|
%{perl_vendorarch}/DateTime*.pm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 03 2006 Steven Pritchard <steve@kspei.com> 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 <steve@kspei.com> 1:0.34-3
|
* Tue Aug 29 2006 Steven Pritchard <steve@kspei.com> 1:0.34-3
|
||||||
- Update to DateTime::TimeZone 0.48.
|
- Update to DateTime::TimeZone 0.48.
|
||||||
|
|
||||||
|
6
sources
6
sources
@ -1,3 +1,3 @@
|
|||||||
71285d93eba0f92e3285a9e011fc33e1 DateTime-0.34.tar.gz
|
3734eafb22059c1ad706edfee66036fd DateTime-0.35.tar.gz
|
||||||
bcf9fa78efa8d00fad1293b9d860ce75 DateTime-Locale-0.22.tar.gz
|
1c2b7b145c4f321c61f2cf32a625e942 DateTime-Locale-0.3101.tar.gz
|
||||||
5c23bc4002a2b67585fd9fa24a3514e3 DateTime-TimeZone-0.48.tar.gz
|
37bf508b02d941eef2a8bf2990dcca48 DateTime-TimeZone-0.54.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user