rpms/perl-DateTime-Format-Strptime/EL-5 perl-DateTime-Format-Strptime-1.0700-olddtl.patch, NONE, 1.1 perl-DateTime-Format-Strptime.spec, 1.2, 1.3

Lubomir Rintel (lkundrak) fedora-extras-commits at redhat.com
Sun Jul 13 20:58:03 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/perl-DateTime-Format-Strptime/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5142

Modified Files:
	perl-DateTime-Format-Strptime.spec 
Added Files:
	perl-DateTime-Format-Strptime-1.0700-olddtl.patch 
Log Message:
* Sun Jul 13 2008 Lubomir Rintel <lkundrak at v3.sk> 1.0700-2.1
- Adjust some test so that it passes in el5


perl-DateTime-Format-Strptime-1.0700-olddtl.patch:

--- NEW FILE perl-DateTime-Format-Strptime-1.0700-olddtl.patch ---
Seems like old DateTime::Locale does not grok some date notations.

Lubomir Rintel <lkundrak at v3.sk>

diff -urp DateTime-Format-Strptime-1.0700.orig/t/004_locale_defaults.t DateTime-Format-Strptime-1.0700/t/004_locale_defaults.t
--- DateTime-Format-Strptime-1.0700.orig/t/004_locale_defaults.t	2004-08-18 04:15:01.000000000 +0200
+++ DateTime-Format-Strptime-1.0700/t/004_locale_defaults.t	2008-07-13 22:53:18.000000000 +0200
@@ -29,9 +29,9 @@ my @tests = (
 	['en_GB',	'%c',	'31 Dec 1998 12:34:56'],
 	# French
 #);my @tests = (
-	['fr',	'%x',	'31 déc. 98'],
+	['fr',	'%x',	'31 déc 1998'],
 	['fr',	'%X',	'12:34:56'],
-	['fr',	'%c',	'31 déc. 98 12:34:56'],
+	['fr',	'%c',	'31 déc 1998 12:34:56'],
 );
 
 foreach (@tests) {


Index: perl-DateTime-Format-Strptime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-DateTime-Format-Strptime/EL-5/perl-DateTime-Format-Strptime.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- perl-DateTime-Format-Strptime.spec	17 Sep 2006 19:05:46 -0000	1.2
+++ perl-DateTime-Format-Strptime.spec	13 Jul 2008 20:57:03 -0000	1.3
@@ -1,12 +1,13 @@
 Name:           perl-DateTime-Format-Strptime
 Version:        1.0700
-Release:        2%{?dist}
+Release:        2%{?dist}.1
 Summary:        Parse and format strp and strf time patterns
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/DateTime-Format-Strptime/
 Source0:        http://www.cpan.org/authors/id/R/RI/RICKM/DateTime-Format-Strptime-%{version}.tar.gz
 Patch0:         %{name}-charset.patch
+Patch1:         %{name}-1.0700-olddtl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(DateTime)
@@ -24,6 +25,7 @@
 %prep
 %setup -q -n DateTime-Format-Strptime-%{version}
 %patch0
+%patch1 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +54,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jul 13 2008 Lubomir Rintel <lkundrak at v3.sk> 1.0700-2.1
+- Adjust some test so that it passes in el5
+
 * Sat Sep 16 2006 Steven Pritchard <steve at kspei.com> 1.0700-2
 - Fix find option order.
 




More information about the fedora-extras-commits mailing list