Mailinglist Archive: opensuse-commit (1421 mails)

< Previous Next >
commit perl-Calendar-Simple
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Tue, 06 May 2008 23:59:41 +0200
  • Message-id: <20080506215941.C3131678182@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package perl-Calendar-Simple
checked in at Tue May 6 23:59:41 CEST 2008.


--------
--- perl-Calendar-Simple/perl-Calendar-Simple.changes 2006-10-31
10:26:17.000000000 +0100
+++ perl-Calendar-Simple/perl-Calendar-Simple.changes 2008-05-06
20:11:23.000000000 +0200
@@ -1,0 +2,8 @@
+Tue May 6 20:10:22 CEST 2008 - lrupp@xxxxxxx
+
+- udpate to 1.20:
+ + Added Licence.
+ + Skip 2100 test on 64-bit systems.
+ + Require Perl 5.6 (and, hence, use "our" and "warnings").
+
+-------------------------------------------------------------------



Old:
----
Calendar-Simple-1.17.tar.bz2

New:
----
Calendar-Simple-1.20.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Calendar-Simple.spec ++++++
--- /var/tmp/diff_new_pack.I16104/_old 2008-05-06 23:57:50.000000000 +0200
+++ /var/tmp/diff_new_pack.I16104/_new 2008-05-06 23:57:50.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package perl-Calendar-Simple (Version 1.17)
+# spec file for package perl-Calendar-Simple (Version 1.20)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,20 +10,28 @@

# norootforbuild

+
Name: perl-Calendar-Simple
-Version: 1.17
-Release: 1
-Requires: perl = %{perl_version}
-Autoreqprov: on
+Summary: Calendar::Simple - Perl extension to create simple calendars
Group: Development/Libraries/Perl
License: Artistic License
-URL: http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS
-Summary: Calendar::Simple - Perl extension to create simple calendars
-Source:
http://search.cpan.org/CPAN/authors/id/D/DA/DAVECROSS/Calendar-Simple-1.17.tar.bz2
+Url: http://search.cpan.org/perldoc?Calendar::Simple
+Version: 1.20
+Release: 1
+Requires: perl = %{perl_version}
+Source: Calendar-Simple-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
-very simple perl module that models a calendar month.
+A very simple perl module that models a calendar month.
+
+This function returns a data structure representing the dates in a
+month. The data structure returned is an array of array references. The
+first level array represents the weeks in the month. The second level
+array contains the actual days. By default, each week starts on a
+Sunday and the value in the array is the date of that day. Any days at
+the beginning of the first week or the end of the last week that are
+from the previous or next month have the value undef.



@@ -35,12 +43,13 @@
%setup -q -n Calendar-Simple-%{version}

%build
-perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
-make
+perl Makefile.PL
+make %{?jobs:-j%jobs}
+
+%check
make test

%install
-rm -rf $RPM_BUILD_ROOT
%perl_make_install
%perl_process_packlist

@@ -56,6 +65,11 @@
%{perl_vendorlib}/Calendar
/var/adm/perl-modules/%{name}

-%changelog -n perl-Calendar-Simple
-* Tue Oct 31 2006 - tsieden@xxxxxxx
+%changelog
+* Tue May 06 2008 lrupp@xxxxxxx
+- udpate to 1.20:
+ + Added Licence.
+ + Skip 2100 test on 64-bit systems.
+ + Require Perl 5.6 (and, hence, use "our" and "warnings").
+* Tue Oct 31 2006 tsieden@xxxxxxx
- initial release 1.17

++++++ Calendar-Simple-1.17.tar.bz2 -> Calendar-Simple-1.20.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/Build.PL
new/Calendar-Simple-1.20/Build.PL
--- old/Calendar-Simple-1.17/Build.PL 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/Build.PL 2008-04-19 11:20:03.000000000 +0200
@@ -1,15 +1,29 @@
use Module::Build;

my $build = Module::Build->new(
- dist_author => 'Dave Cross <dave@xxxxxxxxxxx',
- module_name => 'Calendar::Simple',
- license => 'perl',
- requires => {
- Test::More => 0,
- },
- create_makefile_pl => 'traditional',
- script_files => [ 'bin/pcal' ],
- sign => 1,
- );
+ license => 'perl',
+ dist_version => '1.20',
+ dist_author => 'Dave Cross <dave@xxxxxxxxxxx>',
+ module_name => 'Calendar::Simple',
+ requires => {
+ perl => '5.6.0',
+ Carp => 0,
+ 'Time::Local' => 0,
+ Config => 0,
+ },
+ recommends => {
+ DateTime => 0,
+ },
+ build_requires => {
+ 'Test::More' => 0,
+ },
+ build_recommends => {
+ 'Test::Pod' => 0,
+ 'Test::Pod::Coverage' => 0,
+ },
+ create_makefile_pl => 'traditional',
+ script_files => [ 'bin/pcal' ],
+ sign => 1,
+);

$build->create_build_script;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/Changes
new/Calendar-Simple-1.20/Changes
--- old/Calendar-Simple-1.17/Changes 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/Changes 2008-04-19 11:20:03.000000000 +0200
@@ -1,123 +1,170 @@
-2005-05-31 18:52 dave
+2008-03-09 dave

- * Build.PL, lib/Calendar/Simple.pm: Fixes to Build.PL.
- Small changes to Pod.
-
-2005-03-01 14:31 dave
-
- * lib/Calendar/Simple.pm: Adding pod coverage tests
-
-2005-03-01 14:23 dave
-
- * MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t: Added pod
- coverage tests
+ * [r50] Build.PL:
+ Incremented release number.
+ * [r49] Build.PL:
+ Added Licence.
+ Slightly rejigged dependencies.
+
+2008-03-08 dave
+
+ * [r47] MANIFEST:
+ Removed COPYING for MANIFEST.
+ * [r46] COPYING:
+ Remove COPYING.
+ * [r45] t/no_dt.t:
+ Skip 2100 test on 64-bit systems.
+ * [r44] lib/Calendar/Simple.pm:
+ Turn "licence" into a verb so CPANTS will recognise it.
+ * [r43] lib/Calendar/Simple.pm:
+ Require Perl 5.6 (and, hence, use "our" and "warnings").
+ Use svn revision number.
+ Create licence section.
+ * [r42] Build.PL, COPYING, MANIFEST:
+ Make files non-executable.
+ * [r41] Build.PL:
+ Correct dependencies.
+ Change email address to mag-sol.com.
+ Increment version number.
+
+2006-10-18 dave
+
+ * [r40] lib/Calendar/Simple.pm:
+ Fixed undef values in comparisons
+
+2006-10-16 dave
+
+ * [r39] lib/Calendar/Simple.pm:
+ Bump version for release.
+ * [r38] Build.PL:
+ Added pcal to Build.PL.
+
+2006-10-15 dave
+
+ * [r37] MANIFEST, lib/Calendar/Simple.pm:
+ Fixed MANIFEST, bumped version number.
+ * [r36] bin, bin/pcal, lib/Calendar/Simple.pm:
+ Added pcal to the distribution
+ * [r35] lib/Calendar/Simple.pm, t/date_span.t:
+ Added date_span function (and tests)
+
+2006-10-11 dave
+
+ * [r34] lib/Calendar/Simple.pm:
+ Removed excess parentheses
+ * [r33] t/no_dt.t, t/test.t:
+ Slightly improved some tests
+
+2006-09-10
+
+ * [r32] README.xml, lib/Calendar/Simple.pm:
+ Changed copywrite to Magnum Solutions.
+ Updated README to use Build.PL.
+
+2006-09-04

-2004-12-04 11:46 dave
+ * [r31] lib/Calendar/Simple.pm:
+ Changed to manual version number

- * lib/Calendar/Simple.pm: Added 'see also' reference to DateTime
+2005-05-31 dave

-2004-12-04 11:44 dave
-
- * t/test.t: Don't run 2100 test if DateTime isn't installed
-
-2004-10-30 19:08 dave
-
- * lib/Calendar/Simple.pm: Moved Simple.pm
+ * [r30] Build.PL, lib/Calendar/Simple.pm:
+ Fixes to Build.PL.
+ Small changes to Pod.

-2004-10-30 19:06 dave
+2005-03-01 dave

- * Build.PL, MANIFEST, Makefile.PL: Removed Makefile.PL (now
- generated by Build.PL)
+ * [r29] lib/Calendar/Simple.pm:
+ Adding pod coverage tests
+ * [r28] MANIFEST, t/no_dt.t, t/pod_coverage.t, t/test.t:
+ Added pod coverage tests
+
+2004-12-04 dave
+
+ * [r27] lib/Calendar/Simple.pm:
+ Added 'see also' reference to DateTime
+ * [r26] t/test.t:
+ Don't run 2100 test if DateTime isn't installed
+
+2004-10-30 dave
+
+ * [r25] lib/Calendar/Simple.pm:
+ Moved Simple.pm
+ * [r24] Build.PL, MANIFEST, Makefile.PL:
+ Removed Makefile.PL (now generated by Build.PL)
Added Build.PL
Updated MANIFEST

-2004-10-23 09:04 dave
+2004-10-23 dave

- * lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t: Improved
- test coverage
+ * [r23] lib/Calendar/Simple.pm, t/no_dt.t, t/pod.t, t/test.t:
+ Improved test coverage

-2004-05-23 09:32 dave
+2004-05-23 dave

- * README, README.xml: Replace README with README.xml
+ * [r22] README, README.xml:
+ Replace README with README.xml

-2004-05-22 19:37 dave
+2004-05-22 dave

- * t/test.t: Added more tests to increase coverage
+ * [r21] t/test.t:
+ Added more tests to increase coverage

-2003-05-14 21:17 dave
+2003-05-14 dave

- * t/pod.t, t/test.t: Added support for DateTime.pm (but only is
- it's installed).
+ * [r20] t/pod.t, t/test.t:
+ Added support for DateTime.pm (but only is it's installed).
Updated POD tests.
+ * [r19] lib/Calendar/Simple.pm:
+ Added support for DateTime.pm (but only is it's installed).

-2003-05-14 21:16 dave
+2003-02-19 dave

- * lib/Calendar/Simple.pm: Added support for DateTime.pm (but only
- is it's installed).
-
-2003-02-19 20:22 dave
-
- * Changes: Removed from CVS
-
-2003-02-19 20:20 dave
-
- * t, t/pod.t, t/test.t: New test files
-
-2003-02-19 20:19 dave
-
- * Makefile.PL: Added Test::More and Test::Pod as prereqs.
-
-2003-02-19 20:19 dave
-
- * MANIFEST: Removed test.pl
+ * [r18] Changes:
+ Removed from CVS
+ * [r17] t, t/pod.t, t/test.t:
+ New test files
+ * [r16] Makefile.PL:
+ Added Test::More and Test::Pod as prereqs.
+ * [r15] MANIFEST:
+ Removed test.pl
Added t/*
-
-2003-02-19 20:18 dave
-
- * test.pl: Moved tests to t/*
-
-2003-02-19 20:17 dave
-
- * lib/Calendar/Simple.pm: Ensure that all week arrays contain
- seven elements - previously the
+ * [r14] test.pl:
+ Moved tests to t/*
+ * [r13] lib/Calendar/Simple.pm:
+ Ensure that all week arrays contain seven elements - previously
+ the
last one ended on the last day of the month.

-2002-07-30 21:46 dave
-
- * Changes, lib/Calendar/Simple.pm: Fixed the stupid error from the
- last fix.
-
-2002-07-30 19:40 dave
-
- * lib/Calendar/Simple.pm: Fixed undefined value errors
-
-2002-07-13 14:07 dave
-
- * lib/Calendar/Simple.pm: Doc patches
-
-2002-07-12 18:27 dave
-
- * COPYING, MANIFEST: Added COPYING
-
-2002-07-12 18:25 dave
-
- * lib/Calendar/Simple.pm: Added CVS tags
-
-2002-07-12 18:23 dave
-
- * lib/Calendar/Simple.pm, test.pl: Added start day option
-
-2002-07-12 18:15 dave
-
- * Calendar-Simple-0.01.tar, Makefile: Unnecessary Checkin
-
-2002-07-12 18:13 dave
+2002-07-30 dave

- * Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile,
+ * [r12] Changes, lib/Calendar/Simple.pm:
+ Fixed the stupid error from the last fix.
+ * [r11] lib/Calendar/Simple.pm:
+ Fixed undefined value errors
+
+2002-07-13 dave
+
+ * [r10] lib/Calendar/Simple.pm:
+ Doc patches
+
+2002-07-12 dave
+
+ * [r9] COPYING, MANIFEST:
+ Added COPYING
+ * [r8] lib/Calendar/Simple.pm:
+ Added CVS tags
+ * [r7] lib/Calendar/Simple.pm, test.pl:
+ Added start day option
+ * [r6] Calendar-Simple-0.01.tar, Makefile:
+ Unnecessary Checkin
+ * [r2] Calendar-Simple-0.01.tar, Changes, MANIFEST, Makefile,
Makefile.PL, README, lib, lib/Calendar, lib/Calendar/Simple.pm,
- test.pl: Initial revision
+ test.pl:
+ Initial revision

-2002-07-12 18:13
+2002-07-12

- * branches, tags, .: New repository initialized by cvs2svn.
+ * [r1] .:
+ New repository initialized by cvs2svn.

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/COPYING
new/Calendar-Simple-1.20/COPYING
--- old/Calendar-Simple-1.17/COPYING 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/COPYING 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-COPYRIGHT
-
-Copyright (C) 2002, Dave Cross. All Rights Reserved.
-
-This script is free software; you can redistribute it and/or
-modify it under the same terms as Perl itself.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/lib/Calendar/Simple.pm
new/Calendar-Simple-1.20/lib/Calendar/Simple.pm
--- old/Calendar-Simple-1.17/lib/Calendar/Simple.pm 2006-10-16
21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/lib/Calendar/Simple.pm 2008-04-19
11:20:03.000000000 +0200
@@ -1,4 +1,4 @@
-# $Id: Simple.pm 39 2006-10-16 19:41:18Z dave $
+# $Id: Simple.pm 44 2008-03-08 22:13:46Z dave $

=head1 NAME

@@ -23,16 +23,17 @@

package Calendar::Simple;

+use 5.006;
use strict;
-use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
+use warnings;

require Exporter;

-@ISA = qw(Exporter);
+our @ISA = qw(Exporter);

-@EXPORT = qw(calendar);
-@EXPORT_OK = qw(date_span);
-$VERSION = '1.17';
+our @EXPORT = qw(calendar);
+our @EXPORT_OK = qw(date_span);
+our $VERSION = sprintf "%d", '$Revision: 44 $ ' =~ /(\d+)/;

use Time::Local;
use Carp;
@@ -172,7 +173,7 @@
}

my $i = 0;
- while ($cal[0][$i] < $begin) {
+ while (defined $cal[0][$i] and $cal[0][$i] < $begin) {
$cal[0][$i++] = undef;
}

@@ -181,7 +182,7 @@
}

$i = -1;
- while ($cal[-1][$i] > $end) {
+ while (defined $cal[-1][$i] and $cal[-1][$i] > $end) {
$cal[-1][$i--] = undef;
}

@@ -254,7 +255,9 @@

=head1 COPYRIGHT

-Copyright (C) 2002-2006, Magnum Solutions Ltd.. All Rights Reserved.
+Copyright (C) 2002-2008, Magnum Solutions Ltd. All Rights Reserved.
+
+=head1 LICENSE

This script is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/Makefile.PL
new/Calendar-Simple-1.20/Makefile.PL
--- old/Calendar-Simple-1.17/Makefile.PL 2006-10-16 21:43:22.000000000
+0200
+++ new/Calendar-Simple-1.20/Makefile.PL 2008-04-19 11:20:03.000000000
+0200
@@ -10,7 +10,10 @@
],
'VERSION_FROM' => 'lib/Calendar/Simple.pm',
'PREREQ_PM' => {
- 'Test::More' => 0
+ 'Test::More' => 0,
+ 'Time::Local' => 0,
+ 'Config' => 0,
+ 'Carp' => 0
}
)
;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/MANIFEST
new/Calendar-Simple-1.20/MANIFEST
--- old/Calendar-Simple-1.17/MANIFEST 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/MANIFEST 2008-04-19 11:20:03.000000000 +0200
@@ -3,7 +3,6 @@
Build.PL
MANIFEST
README
-COPYING
lib/Calendar/Simple.pm
t/test.t
t/pod.t
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/META.yml
new/Calendar-Simple-1.20/META.yml
--- old/Calendar-Simple-1.17/META.yml 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/META.yml 2008-04-19 11:20:03.000000000 +0200
@@ -1,19 +1,26 @@
---
name: Calendar-Simple
-version: 1.17
+version: 1.20
author:
- - Dave Cross <dave@xxxxxxxxxxx
+ - 'Dave Cross <dave@xxxxxxxxxxx>'
abstract: Perl extension to create simple calendars
license: perl
resources:
license: http://dev.perl.org/licenses/
requires:
+ Carp: 0
+ Config: 0
+ Time::Local: 0
+ perl: 5.6.0
+build_requires:
Test::More: 0
+recommends:
+ DateTime: 0
provides:
Calendar::Simple:
file: lib/Calendar/Simple.pm
- version: 1.17
-generated_by: Module::Build version 0.2805
+ version: 44
+generated_by: Module::Build version 0.2808
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.2.html
version: 1.2
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/README
new/Calendar-Simple-1.20/README
--- old/Calendar-Simple-1.17/README 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/README 2008-04-19 11:20:03.000000000 +0200
@@ -14,12 +14,15 @@

To install this module type the following:

- perl Makefile.PL
- make
- make test
- make install
+ perl Build.PL
+ ./Build
+ ./Build test
+ ./Build install


+ Note: The older "perl Makefile.PL; make; make test; make install"
+ sequence will also work.
+
DEPENDENCIES

This module has no external dependencies.
@@ -29,5 +32,5 @@
This script is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

- Copyright (C) 2002 Dave Cross, All rights reserved.
+ Copyright (C) 2002-2006 Magnum Solutions Ltd., All rights reserved.

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/SIGNATURE
new/Calendar-Simple-1.20/SIGNATURE
--- old/Calendar-Simple-1.17/SIGNATURE 2006-10-16 21:43:27.000000000 +0200
+++ new/Calendar-Simple-1.20/SIGNATURE 2008-04-19 11:20:09.000000000 +0200
@@ -14,24 +14,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

-SHA1 fb6f00625da3d095d7f472f2df36472246cc09dd Build.PL
-SHA1 7834569ee0baaefd28e5fd5114a52b6979d99f4d COPYING
-SHA1 5e33adb8b5d3b29035933dd270472bdfc21941a4 Changes
-SHA1 9169c821c4fcc79145aada7db19e7d338633c46c MANIFEST
-SHA1 93b4fa97c385489648b0cb5d6a2f87afe9bd2ee0 META.yml
-SHA1 b87531062e37d28e67b2c1c54a95b24562d425f4 Makefile.PL
-SHA1 f468a58e1b445d4ff9c8f7a6abfadfee2dc8e927 README
+SHA1 46f56caab572490bcba8b571b9e71506a9d0ec0d Build.PL
+SHA1 d36fe009be52c99f9fb6fad9bfaed38bdf8c27ee Changes
+SHA1 b31b69c19e0a447cfeed058ba1b2b398ad24c9dd MANIFEST
+SHA1 3eaf1ccf002dd4db3d3dde1602808807004f44bf META.yml
+SHA1 1777e3803044790eeb840d57aa8231a09f8d2b3d Makefile.PL
+SHA1 173a7ec8f3a53ea802489542c6f314af4464c24b README
SHA1 2fc32b2fff88c61137dcbf3eea02819738918b8b bin/pcal
-SHA1 6bed100845fd69eb0db44ff384bd057602f96354 lib/Calendar/Simple.pm
+SHA1 477f35b60c32575dba3fa8a4fe0a02a64f3c47cf lib/Calendar/Simple.pm
SHA1 9d015a8aebc858d94f5721fc9fad66ac25ea940d t/date_span.t
-SHA1 879d86c37895757c937e2aff6b9d57ded967dc75 t/no_dt.t
+SHA1 e2075b99f21d75838b7e22c64c2b2f65058cd5ab t/no_dt.t
SHA1 e9c6a5881fc60173fbc8d479c1afd2ce3b43bef1 t/pod.t
SHA1 de1b8a6f043bb49463103b0fc02a65276f790a68 t/pod_coverage.t
SHA1 fd8a8e826e923cd76701f927193a915a71cdfb58 t/test.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)

-iD8DBQFFM+DfhlYrNpFq+8ERAoGpAKCa1ZF9M7noK31q+xzwMyVY/IEojwCcD9pn
-j+zzg60mq/SFnRLlLKVvdW8=
-=TOif
+iD8DBQFICblDhlYrNpFq+8ERArV1AKCTMkOSkoZV+NCdS/vxyAcM+aKrtACeKJvq
+WelM8laeJlGDFOn80WJ+0IA=
+=iflo
-----END PGP SIGNATURE-----
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/Calendar-Simple-1.17/t/no_dt.t
new/Calendar-Simple-1.20/t/no_dt.t
--- old/Calendar-Simple-1.17/t/no_dt.t 2006-10-16 21:43:22.000000000 +0200
+++ new/Calendar-Simple-1.20/t/no_dt.t 2008-04-19 11:20:03.000000000 +0200
@@ -1,6 +1,7 @@
use Test::More tests => 33;
$ENV{CAL_SIMPLE_NO_DT} = 1;
use_ok('Calendar::Simple');
+use Config;

my @month = calendar(9, 2002);

@@ -51,8 +52,13 @@
@month = calendar(2, 2000);
ok(@month);

-eval { @month = calendar(2, 2100) };
-ok($@);
+SKIP: {
+ skip 'Not a problem on 64-bit systems', 1
+ if defined $Config{use64bitint};
+
+ eval { @month = calendar(2, 2100) };
+ ok($@);
+}

eval { @month = calendar(2, 1500) };
ok($@);


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages