Author: steve Update of /cvs/pkgs/rpms/perl-DateTime/EL-5 In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17855 Modified Files: .cvsignore perl-DateTime.spec sources Log Message: Sync with devel. Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-DateTime/EL-5/.cvsignore,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- .cvsignore 22 Jan 2007 18:14:35 -0000 1.12 +++ .cvsignore 19 Nov 2007 19:44:09 -0000 1.13 @@ -1,3 +1,3 @@ -DateTime-0.36.tar.gz -DateTime-Locale-0.33.tar.gz -DateTime-TimeZone-0.59.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-5/perl-DateTime.spec,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- perl-DateTime.spec 22 Jan 2007 18:14:35 -0000 1.12 +++ perl-DateTime.spec 19 Nov 2007 19:44:09 -0000 1.13 @@ -1,8 +1,8 @@ -%define DTTimeZone_version 0.59 -%define DTLocale_version 0.33 +%define DTTimeZone_version 0.67 +%define DTLocale_version 0.35 Name: perl-DateTime -Version: 0.36 +Version: 0.41 Release: 1%{?dist} Epoch: 1 Summary: Date and time objects @@ -14,16 +14,19 @@ 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) +BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Pod) -BuildRequires: perl(DateTime::Format::ICal) -BuildRequires: perl(DateTime::Format::Strptime) -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} @@ -31,6 +34,14 @@ 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 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 @@ -47,13 +58,11 @@ %patch0 -p1 cd - -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 +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} @@ -70,30 +79,30 @@ 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} -depth -type d -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 \; -%{_fixperms} %{buildroot}/* +%{_fixperms} $RPM_BUILD_ROOT/* # Move documentation into bundle area mkdir DT::Locale DT::TimeZone @@ -120,7 +129,7 @@ make -C DateTime-%{version} test %clean -rm -rf %{buildroot} +rm -rf $RPM_BUILD_ROOT %{__perl_requires} %{__perl_provides} %files %defattr(-,root,root,0755) @@ -134,6 +143,42 @@ %{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. Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-DateTime/EL-5/sources,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- sources 22 Jan 2007 18:14:35 -0000 1.12 +++ sources 19 Nov 2007 19:44:09 -0000 1.13 @@ -1,3 +1,3 @@ -04a18d055011e34272d9b892b9634c68 DateTime-0.36.tar.gz -9cfff24a08c399fba62bf6fa5c10be00 DateTime-Locale-0.33.tar.gz -c3b92c620f80b8ef026a45850395ee75 DateTime-TimeZone-0.59.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