rpms/perl-DateTime-Format-Strptime/devel perl-DateTime-Format-Strptime-004_locale_defaults.patch, NONE, 1.1 perl-DateTime-Format-Strptime.spec, 1.5, 1.6

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

 



Author: steve

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

Modified Files:
	perl-DateTime-Format-Strptime.spec 
Added Files:
	perl-DateTime-Format-Strptime-004_locale_defaults.patch 
Log Message:
Patch t/004_locale_defaults.t to work around change in DateTime::Locale.

perl-DateTime-Format-Strptime-004_locale_defaults.patch:

--- NEW FILE perl-DateTime-Format-Strptime-004_locale_defaults.patch ---
--- DateTime-Format-Strptime-1.0702/t/004_locale_defaults.t.orig	2007-09-17 19:16:15.000000000 -0500
+++ DateTime-Format-Strptime-1.0702/t/004_locale_defaults.t	2008-07-08 11:46:16.000000000 -0500
@@ -29,9 +29,9 @@
 	['en_GB',	'%c',	'31 Dec 1998 12:34:56'],
 	# French
 #);my @tests = (
-	['fr',	'%x',	'31 déc 1998'],
+	['fr',	'%x',	'31 déc. 1998'],
 	['fr',	'%X',	'12:34:56'],
-	['fr',	'%c',	'31 déc 1998 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/devel/perl-DateTime-Format-Strptime.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-DateTime-Format-Strptime.spec	4 Mar 2008 19:28:12 -0000	1.5
+++ perl-DateTime-Format-Strptime.spec	8 Jul 2008 16:54:21 -0000	1.6
@@ -1,11 +1,12 @@
 Name:           perl-DateTime-Format-Strptime
 Version:        1.0702
-Release:        2%{?dist}
+Release:        3%{?dist}
 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}.tgz
+Patch0:         perl-DateTime-Format-Strptime-004_locale_defaults.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 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +54,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Tue Jul 08 2008 Steven Pritchard <steve@xxxxxxxxx> 1.0702-3
+- Patch t/004_locale_defaults.t to work around change in DateTime::Locale.
+
 * Tue Mar 04 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 1.0702-2
 - rebuild for new perl
 

--
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