rpms/perl-Data-FormValidator-Constraints-DateTime/devel 03-03-2010.patch, NONE, 1.1 perl-Data-FormValidator-Constraints-DateTime.spec, 1.4, 1.5

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

 



Author: iarnell

Update of /cvs/pkgs/rpms/perl-Data-FormValidator-Constraints-DateTime/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv5433

Modified Files:
	perl-Data-FormValidator-Constraints-DateTime.spec 
Added Files:
	03-03-2010.patch 
Log Message:
* Thu May 13 2010 Iain Arnell <iarnell@xxxxxxxxx> 1.09-5
- fix FTBFS - tests fail after 03/03/2010


03-03-2010.patch:
 3x_dates.t |    2 +-
 dates.t    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE 03-03-2010.patch ---
diff -up Data-FormValidator-Constraints-DateTime-1.09/t/3x_dates.t.orig Data-FormValidator-Constraints-DateTime-1.09/t/3x_dates.t
--- Data-FormValidator-Constraints-DateTime-1.09/t/3x_dates.t.orig	2005-12-19 23:08:18.000000000 +0100
+++ Data-FormValidator-Constraints-DateTime-1.09/t/3x_dates.t	2010-05-13 12:14:45.000000000 +0200
@@ -15,7 +15,7 @@ my $real_bad_date   = '2';
 my $today           = DateTime->today->mdy('-');
 # these are relative to the above $good_date;
 my $distant_future_date = '03-03-2110'; 
-my $future_date         = '03-03-2010'; 
+my $future_date         = '03-03-2020'; 
 my $past_date           = '03-03-1979';
 my $distant_past_date   = '03-03-1879';
 
diff -up Data-FormValidator-Constraints-DateTime-1.09/t/dates.t.orig Data-FormValidator-Constraints-DateTime-1.09/t/dates.t
--- Data-FormValidator-Constraints-DateTime-1.09/t/dates.t.orig	2005-12-19 23:08:18.000000000 +0100
+++ Data-FormValidator-Constraints-DateTime-1.09/t/dates.t	2010-05-13 12:14:52.000000000 +0200
@@ -21,7 +21,7 @@ my $real_bad_date   = '2';
 my $today           = DateTime->today->mdy('-');
 # these are relative to the above $good_date;
 my $distant_future_date = '03-03-2110'; 
-my $future_date         = '03-03-2010'; 
+my $future_date         = '03-03-2020'; 
 my $past_date           = '03-03-1979';
 my $distant_past_date   = '03-03-1879';
 


Index: perl-Data-FormValidator-Constraints-DateTime.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Data-FormValidator-Constraints-DateTime/devel/perl-Data-FormValidator-Constraints-DateTime.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- perl-Data-FormValidator-Constraints-DateTime.spec	30 Apr 2010 13:32:26 -0000	1.4
+++ perl-Data-FormValidator-Constraints-DateTime.spec	13 May 2010 10:23:57 -0000	1.5
@@ -1,11 +1,15 @@
 Name:           perl-Data-FormValidator-Constraints-DateTime
 Version:        1.09
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        D::FV constraints for dates and times
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Data-FormValidator-Constraints-DateTime/
 Source0:        http://www.cpan.org/authors/id/W/WO/WONKO/Data-FormValidator-Constraints-DateTime-%{version}.tar.gz
+# http://rt.cpan.org/Ticket/Display.html?id=57456
+# tests fail after 03/03/2010
+Patch0:         03-03-2010.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Data::FormValidator)
@@ -30,6 +34,7 @@ strings that would be properly formatted
 
 %prep
 %setup -q -n Data-FormValidator-Constraints-DateTime-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -56,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu May 13 2010 Iain Arnell <iarnell@xxxxxxxxx> 1.09-5
+- fix FTBFS - tests fail after 03/03/2010
+
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 1.09-4
 - Mass rebuild with perl-5.12.0
 

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

[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