Hello community,

here is the log from the commit of package perl-Config-Crontab for 
openSUSE:Factory checked in at 2014-02-12 17:22:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-Crontab (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Config-Crontab.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Config-Crontab"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Config-Crontab/perl-Config-Crontab.changes  
2011-11-02 12:13:25.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Config-Crontab.new/perl-Config-Crontab.changes 
    2014-02-12 17:22:24.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Feb  9 13:33:36 UTC 2014 - [email protected]
+
+- updated to 1.40
+ - fix for multiple datetime wildcards
+
+-------------------------------------------------------------------

Old:
----
  Config-Crontab-1.33.tar.gz

New:
----
  Config-Crontab-1.40.tar.gz

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

Other differences:
------------------
++++++ perl-Config-Crontab.spec ++++++
--- /var/tmp/diff_new_pack.DuHK6F/_old  2014-02-12 17:22:25.000000000 +0100
+++ /var/tmp/diff_new_pack.DuHK6F/_new  2014-02-12 17:22:25.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Config-Crontab
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,19 @@
 #
 
 
-
 Name:           perl-Config-Crontab
-Version:        1.33
-Release:        1
-License:        GPL-1.0+ or Artistic-1.0
+Version:        1.40
+Release:        0
 %define cpan_name Config-Crontab
 Summary:        Read/Write Vixie compatible crontab(5) files
-Url:            http://search.cpan.org/dist/Config-Crontab/
+License:        GPL-1.0+ or Artistic-1.0
 Group:          Development/Libraries/Perl
+Url:            http://search.cpan.org/dist/Config-Crontab/
 Source:         
http://www.cpan.org/authors/id/S/SC/SCOTTW/%{cpan_name}-%{version}.tar.gz
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(ExtUtils::MakeMaker)
-#BuildRequires: perl(blib)
-#BuildRequires: perl(Carp)
-#BuildRequires: perl(constant)
-#BuildRequires: perl(Fcntl)
-#BuildRequires: perl(File::Temp)
-#BuildRequires: perl(Test::More)
 %{perl_requires}
 
 %description

++++++ Config-Crontab-1.33.tar.gz -> Config-Crontab-1.40.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/Changes 
new/Config-Crontab-1.40/Changes
--- old/Config-Crontab-1.33/Changes     2011-04-12 00:55:55.000000000 +0200
+++ new/Config-Crontab-1.40/Changes     2014-01-09 05:50:36.000000000 +0100
@@ -1,5 +1,11 @@
 Revision history for Perl extension Config::Crontab.
 
+Release 1.40
+----------------------------
+revision 1.8
+date: 2014/01/09 04:50:04;  author: scott;  state: Exp;  lines: +5 -4
+- fix for multiple datetime wildcards
+
 Release 1.33
 ----------------------------
 revision 1.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/Crontab.pm 
new/Config-Crontab-1.40/Crontab.pm
--- old/Config-Crontab-1.33/Crontab.pm  2011-04-12 00:55:03.000000000 +0200
+++ new/Config-Crontab-1.40/Crontab.pm  2014-01-09 05:50:04.000000000 +0100
@@ -3,7 +3,7 @@
 ##
 ## Scott Wiersdorf
 ## Created: Fri May  9 14:03:01 MDT 2003
-## Updated: $Id: Crontab.pm,v 1.7 2011/04/11 22:55:03 scott Exp $
+## Updated: $Id: Crontab.pm,v 1.8 2014/01/09 04:50:04 scott Exp $
 ##
 ## Config::Crontab - a crontab(5) parser
 ##
@@ -39,7 +39,7 @@
 use Fcntl;
 use File::Temp qw(:POSIX);
 
-our $VERSION = '1.33';
+our $VERSION = '1.40';
 
 sub init {
     my $self = shift;
@@ -1885,9 +1885,10 @@
 our @ISA = qw(Config::Crontab::Base);
 
 use constant RE_DT        => '(?:\d+|\*)(?:[-,\/]\d+)*';
+use constant RE_DTLIST    => RE_DT . '(?:,' . RE_DT . ')*';
 use constant RE_DM        => '\w{3}(?:,\w{3})*';
-use constant RE_DTELEM    => '(?:\*|' . RE_DT . ')';
-use constant RE_DTMOY     => '(?:\*|' . RE_DT . '|' . RE_DM . ')';
+use constant RE_DTELEM    => '(?:\*|' . RE_DTLIST . ')';
+use constant RE_DTMOY     => '(?:\*|' . RE_DTLIST . '|' . RE_DM . ')';
 use constant RE_DTDOW     => RE_DTMOY;
 use constant RE_ACTIVE    => '^\s*(\#*)\s*';
 use constant RE_NOLOG     => '(-?)';  ## SuSE-specific extension
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/MANIFEST 
new/Config-Crontab-1.40/MANIFEST
--- old/Config-Crontab-1.33/MANIFEST    2011-04-12 00:38:50.000000000 +0200
+++ new/Config-Crontab-1.40/MANIFEST    2014-01-09 05:51:46.000000000 +0100
@@ -15,3 +15,4 @@
 t/08_crashme.t
 t/09_remove.t
 META.yml                                 Module meta-data (added by MakeMaker)
+META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/META.json 
new/Config-Crontab-1.40/META.json
--- old/Config-Crontab-1.33/META.json   1970-01-01 01:00:00.000000000 +0100
+++ new/Config-Crontab-1.40/META.json   2014-01-09 05:51:46.000000000 +0100
@@ -0,0 +1,39 @@
+{
+   "abstract" : "Read/Write Vixie compatible crontab(5) files",
+   "author" : [
+      "Scott Wiersdorf <[email protected]>"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "Config-Crontab",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {}
+      }
+   },
+   "release_status" : "stable",
+   "version" : "1.40"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/META.yml 
new/Config-Crontab-1.40/META.yml
--- old/Config-Crontab-1.33/META.yml    2011-04-12 00:56:36.000000000 +0200
+++ new/Config-Crontab-1.40/META.yml    2014-01-09 05:51:46.000000000 +0100
@@ -1,13 +1,21 @@
---- #YAML:1.0
-name:                Config-Crontab
-version:             1.33
-abstract:            Read/Write Vixie compatible crontab(5) files
-license:             ~
-author:              
-    - Scott Wiersdorf <[email protected]>
-generated_by:        ExtUtils::MakeMaker version 6.42
-distribution_type:   module
-requires:     
+---
+abstract: 'Read/Write Vixie compatible crontab(5) files'
+author:
+  - 'Scott Wiersdorf <[email protected]>'
+build_requires:
+  ExtUtils::MakeMaker: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter 
version 2.120630'
+license: unknown
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Config-Crontab
+no_index:
+  directory:
+    - t
+    - inc
+requires: {}
+version: 1.40
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/README 
new/Config-Crontab-1.40/README
--- old/Config-Crontab-1.33/README      2011-04-12 00:56:11.000000000 +0200
+++ new/Config-Crontab-1.40/README      2014-01-09 05:50:44.000000000 +0100
@@ -1,4 +1,4 @@
-Config/Crontab version 1.33
+Config/Crontab version 1.40
 ===========================
 
 Config::Crontab reads and writes (and pretty-prints) your crontab(5)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Config-Crontab-1.33/t/03_event.t 
new/Config-Crontab-1.40/t/03_event.t
--- old/Config-Crontab-1.33/t/03_event.t        2011-04-12 00:20:16.000000000 
+0200
+++ new/Config-Crontab-1.40/t/03_event.t        2014-01-09 05:48:18.000000000 
+0100
@@ -9,7 +9,7 @@
     plan skip_all => "no crontab available";
     exit;
 }
-plan tests => 109;
+plan tests => 110;
 
 use_ok('Config::Crontab');
 
@@ -55,6 +55,11 @@
 is( $event->hour, 0 );
 undef $event;
 
+## setting via datetime
+$event = new Config::Crontab::Event( -datetime => '*/2,*/5 0 * * *',
+                                     -command  => '/bin/echo' );
+is( $event->datetime, '*/2,*/5 0 * * *', 'multiple wildcards (rus)' );
+
 ## setting via special
 $event = new Config::Crontab::Event( -special => '@monthly',
                                      -command => '/usr/sbin/backup_everything' 
);

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to