rpms/perl-DateTime/EL-4 DateTime-LeapSecond-utf8.patch, NONE, 1.1 DateTime-filter-provides.sh, NONE, 1.1 DateTime-filter-requires.sh, NONE, 1.1 .cvsignore, 1.2, 1.3 perl-DateTime.spec, 1.1, 1.2 sources, 1.2, 1.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: robert

Update of /cvs/pkgs/rpms/perl-DateTime/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30891

Modified Files:
	.cvsignore perl-DateTime.spec sources 
Added Files:
	DateTime-LeapSecond-utf8.patch DateTime-filter-provides.sh 
	DateTime-filter-requires.sh 
Log Message:
Initial import of perl(DateTime) for EPEL


DateTime-LeapSecond-utf8.patch:
 LeapSecond.pm |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE DateTime-LeapSecond-utf8.patch ---
--- 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�o Soibelmann Glock, E<lt>fglock@xxxxxxxxx<gt>
+Flávio Soibelmann Glock, E<lt>fglock@xxxxxxxxx<gt>
 
 =head1 COPYRIGHT
 
-Copyright (c) 2003 Fl�o 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.


--- NEW FILE DateTime-filter-provides.sh ---
#!/bin/sh
#
# Remove redundant unversioned provides of
# perl(DateTime) and perl(DateTime::TimeZone).

@@PERL_PROV@@ "$@" | sed -e '/^perl(DateTime\(::TimeZone\)\?)$/d'


--- NEW FILE DateTime-filter-requires.sh ---
#!/bin/sh

@@PERL_REQ@@ "$@" | sed -e '/^perl(Win32::.*$/d'


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DateTime/EL-4/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore	16 Sep 2005 20:15:06 -0000	1.2
+++ .cvsignore	21 Aug 2009 13:06:36 -0000	1.3
@@ -1,3 +1,3 @@
-DateTime-0.2901.tar.gz
-DateTime-Locale-0.22.tar.gz
-DateTime-TimeZone-0.37.tar.gz
+DateTime-0.41.tar.gz
+DateTime-Locale-0.35.tar.gz
+DateTime-TimeZone-0.67.tar.gz


Index: perl-DateTime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DateTime/EL-4/perl-DateTime.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- perl-DateTime.spec	16 Sep 2005 20:15:06 -0000	1.1
+++ perl-DateTime.spec	21 Aug 2009 13:06:36 -0000	1.2
@@ -1,25 +1,33 @@
-%define DTTimeZone_version 0.37
-%define DTLocale_version 0.22
+%define DTTimeZone_version 0.67
+%define DTLocale_version 0.35
 
 Name:           perl-DateTime
-Version:        0.2901
-Release:        2%{?dist}
-Summary:        DateTime Perl module
+Version:        0.41
+Release:        1%{?dist}
+Epoch:          1
+Summary:        Date and time objects
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime/
-Source0:        http://www.cpan.org/modules/by-module/DateTime/DateTime-0.2901.tar.gz
-Source1:        http://www.cpan.org/modules/by-module/DateTime/DateTime-TimeZone-%{DTTimeZone_version}.tar.gz
-Source2:        http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{DTLocale_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
+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(Class::Singleton) >= 1.03
+BuildRequires:  perl(File::Find::Rule)
 BuildRequires:  perl(Module::Build)
 BuildRequires:  perl(Params::Validate) >= 0.76
-BuildRequires:  perl(Class::Singleton) >= 1.03
 BuildRequires:  perl(Pod::Man) >= 1.14
-BuildRequires:  perl(File::Find::Rule)
+# Not yet available on EL-4 branch.
+#BuildRequires:  perl(Test::Output)
 BuildRequires:  perl(Test::Pod)
-Requires:       perl(Params::Validate) >= 0.76
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
+# Creates a build dependency loop.
+#BuildRequires:  perl(DateTime::Format::ICal)
+#BuildRequires:  perl(DateTime::Format::Strptime)
 Requires:       perl(Class::Singleton) >= 1.03
+Requires:       perl(Params::Validate) >= 0.76
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Provides:       perl-DateTime-TimeZone = %{DTTimeZone_version}
 Provides:       perl-DateTime-Locale = %{DTLocale_version}
@@ -27,24 +35,35 @@ Provides:       perl(DateTime::TimeZoneC
 Provides:       perl(DateTimePP)
 Provides:       perl(DateTimePPExtra)
 
+Source98:       DateTime-filter-requires.sh
+%global real_perl_requires %{__perl_requires}
+%define __perl_requires %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-requires
+
+Source99:       DateTime-filter-provides.sh
+%global real_perl_provides %{__perl_provides}
+%define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides
+
 %description
-The DateTime.pm module aims to provide a complete, correct, and easy to use
-date/time object implementation. Currently it handles many date
-calculations, date math (addition and subtraction), and provides convenient
-methods for retrieving portions of a date/time.
+DateTime is a class for the representation of date/time combinations, and
+is part of the Perl DateTime project. For details on this project please
+see http://datetime.perl.org/. The DateTime site has a FAQ which may help
+answer many "how do I do X?" questions. The FAQ is at
+http://datetime.perl.org/faq.html.
 
 %prep
 %setup -q -T -c -n DateTimeBundle -a 0
 %setup -q -T -D -n DateTimeBundle -a 1
 %setup -q -T -D -n DateTimeBundle -a 2
 
-cat > filter-provides.sh << EOF
-#!/bin/sh
-# Remove redundant unversioned provides of perl(DateTime) and perl(DateTime::TimeZone)
-exec %{__perl_provides} $* | egrep -v '^perl[(]DateTime(::TimeZone)?[)]$'
-EOF
-%define __perl_provides %{_builddir}/DateTimeBundle/filter-provides.sh
-chmod 755 filter-provides.sh
+cd DateTime-%{version}
+%patch0 -p1
+cd -
+
+sed -e 's,@@PERL_REQ@@,%{real_perl_requires},' %{SOURCE98} > %{__perl_requires}
+chmod +x %{__perl_requires}
+
+sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
+chmod +x %{__perl_provides}
 
 %build
 cd DateTime-Locale-%{DTLocale_version}
@@ -61,35 +80,35 @@ cd DateTime-%{version}
 PERLLIB=../DateTime-Locale-%{DTLocale_version}/blib/lib
 PERLLIB=$PERLLIB:../DateTime-TimeZone-%{DTTimeZone_version}/blib/lib
 export PERLLIB
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 cd -
 
 %install
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 cd DateTime-Locale-%{DTLocale_version}
-./Build install destdir=%{buildroot}
+./Build install destdir=$RPM_BUILD_ROOT
 cd -
 
 cd DateTime-TimeZone-%{DTTimeZone_version}
-./Build install destdir=%{buildroot}
+./Build install destdir=$RPM_BUILD_ROOT
 cd -
 
 cd DateTime-%{version}
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 cd -
 
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null \;
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-chmod -R u+rwX,go+rX,go-w %{buildroot}/*
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 # 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
@@ -111,7 +130,7 @@ cd -
 make -C DateTime-%{version} test
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT %{__perl_requires} %{__perl_provides}
 
 %files
 %defattr(-,root,root,0755)
@@ -125,6 +144,88 @@ rm -rf %{buildroot}
 %{perl_vendorarch}/DateTime*.pm
 
 %changelog
+* Mon Sep 17 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.41-1
+- Update to DateTime 0.41.
+- Update to DateTime::Locale 0.35.
+- Update to DateTime::TimeZone 0.67.
+
+* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.39-2
+- Rebuild for selinux ppc32 issue.
+
+* Sun Jul 22 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.39-1
+- Update to DateTime 0.39.
+- Update to DateTime::TimeZone 0.6603.
+
+* Thu Jul 05 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.38-2
+- BR Test::Output.
+
+* Mon Jul 02 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.38-1
+- Update to DateTime 0.38.
+- Update to DateTime::TimeZone 0.6602.
+- BR Test::Pod::Coverage.
+
+* Mon Apr 02 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.37-3
+- Drop BR DateTime::Format::* to avoid circular build deps.
+
+* Mon Apr 02 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.37-2
+- Filter Win32::TieRegistry dependency.
+- Do the provides filter like we do in cpanspec.
+- Drop some macro usage.
+
+* Sat Mar 31 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.37-1
+- Update to DateTime 0.37.
+- Update to DateTime::TimeZone 0.63.
+
+* Tue Mar 13 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.36-2
+- Update to DateTime::Locale 0.34.
+- Update to DateTime::TimeZone 0.62.
+
+* Mon Jan 22 2007 Steven Pritchard <steve@xxxxxxxxx> 1:0.36-1
+- Update to Date::Time 0.36.
+- Update to DateTime::Locale 0.33.
+- Update to DateTime::TimeZone 0.59.
+
+* Fri Nov 03 2006 Steven Pritchard <steve@xxxxxxxxx> 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@xxxxxxxxx> 1:0.34-3
+- Update to DateTime::TimeZone 0.48.
+
+* Mon Aug 28 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.34-2
+- Update to DateTime::TimeZone 0.47.
+
+* Mon Aug 14 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.34-1
+- Update to DateTime 0.34.
+
+* Fri Jul 28 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.32-1
+- Update to DateTime 0.32.
+- Improve Summary, description, and source URLs.
+- Fix find option order.
+
+* Thu Jul 13 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.31-2
+- BR DateTime::Format::ICal and DateTime::Format::Strptime for better
+  test coverage.
+
+* Wed May 24 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.31-1
+- Update DateTime to 0.31.
+- Update DateTime::TimeZone to 0.46.
+
+* Mon Feb 27 2006 Steven Pritchard <steve@xxxxxxxxx> 1:0.30-3
+- Bump Epoch (argh, 0.2901 > 0.30 to rpm)
+- Update DateTime::TimeZone to 0.42
+
+* Sat Feb 18 2006 Steven Pritchard <steve@xxxxxxxxx> 0.30-2
+- Update DateTime::TimeZone to 0.41
+
+* Tue Jan 10 2006 Steven Pritchard <steve@xxxxxxxxx> 0.30-1
+- Update DateTime to 0.30
+- Update DateTime::TimeZone to 0.40
+
 * Fri Sep 16 2005 Paul Howarth <paul@xxxxxxxxxxxx> 0.2901-2
 - Unpack each tarball only once
 - Use Module::Build's build script where available


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DateTime/EL-4/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	16 Sep 2005 20:15:06 -0000	1.2
+++ sources	21 Aug 2009 13:06:37 -0000	1.3
@@ -1,3 +1,3 @@
-f96816e634700ae3c8bd849f97856861  DateTime-0.2901.tar.gz
-bcf9fa78efa8d00fad1293b9d860ce75  DateTime-Locale-0.22.tar.gz
-1adf3f14eda8faccaf5564437eadcfd5  DateTime-TimeZone-0.37.tar.gz
+cbd27b0d9a3eee5ffa6afb9211b19a9e  DateTime-0.41.tar.gz
+857b23381a1a8e7dc2e7d0caa285827d  DateTime-Locale-0.35.tar.gz
+4684adbdf78d863a3526d5d9a52b4d79  DateTime-TimeZone-0.67.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux