Hello community, here is the log from the commit of package perl-Config-Crontab for openSUSE:Factory checked in at 2017-03-03 14:35:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Config-Crontab (Old) and /work/SRC/openSUSE:Factory/.perl-Config-Crontab.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-Crontab" Fri Mar 3 14:35:16 2017 rev:25 rq:460884 version:1.43 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Config-Crontab/perl-Config-Crontab.changes 2017-02-16 16:47:10.491876347 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Config-Crontab.new/perl-Config-Crontab.changes 2017-03-03 14:35:17.424041997 +0100 @@ -1,0 +2,14 @@ +Tue Feb 28 06:15:34 UTC 2017 - co...@suse.com + +- updated to 1.43 + see /usr/share/doc/packages/perl-Config-Crontab/Changes + + Release 1.43 + ---------------------------- + commit 2fedca514e2826bae41960295af20dc718db3256 + Author: Scott Wiersdorf <sc...@perlcode.org> + Date: Mon Feb 27 10:42:51 2017 -0700 + + fix lexical scope error introduced in PR#2; tests + +------------------------------------------------------------------- Old: ---- Config-Crontab-1.42.tar.gz New: ---- Config-Crontab-1.43.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Config-Crontab.spec ++++++ --- /var/tmp/diff_new_pack.YdXnR2/_old 2017-03-03 14:35:17.987962163 +0100 +++ /var/tmp/diff_new_pack.YdXnR2/_new 2017-03-03 14:35:17.987962163 +0100 @@ -17,7 +17,7 @@ Name: perl-Config-Crontab -Version: 1.42 +Version: 1.43 Release: 0 %define cpan_name Config-Crontab Summary: Read/Write Vixie compatible crontab(5) files ++++++ Config-Crontab-1.42.tar.gz -> Config-Crontab-1.43.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Crontab-1.42/Changes new/Config-Crontab-1.43/Changes --- old/Config-Crontab-1.42/Changes 2017-01-12 18:17:48.000000000 +0100 +++ new/Config-Crontab-1.43/Changes 2017-02-27 18:43:33.000000000 +0100 @@ -1,5 +1,13 @@ Revision history for Perl extension Config::Crontab. +Release 1.43 +---------------------------- +commit 2fedca514e2826bae41960295af20dc718db3256 +Author: Scott Wiersdorf <sc...@perlcode.org> +Date: Mon Feb 27 10:42:51 2017 -0700 + + fix lexical scope error introduced in PR#2; tests + Release 1.42 ---------------------------- commit 337927a0840a7d3572b31c9c31c2911463e6bbc4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Crontab-1.42/Crontab.pm new/Config-Crontab-1.43/Crontab.pm --- old/Config-Crontab-1.42/Crontab.pm 2017-01-12 18:11:17.000000000 +0100 +++ new/Config-Crontab-1.43/Crontab.pm 2017-02-27 18:41:59.000000000 +0100 @@ -39,7 +39,7 @@ use Fcntl; use File::Temp qw(:POSIX); -our $VERSION = '1.42'; +our $VERSION = '1.43'; sub init { my $self = shift; @@ -294,8 +294,9 @@ ## use a temporary filename else { my $tmpfile; + my $ct; do { $tmpfile = tmpnam() } - until sysopen(my $ct, $tmpfile, O_RDWR|O_CREAT|O_EXCL); + until sysopen($ct, $tmpfile, O_RDWR|O_CREAT|O_EXCL); print {$ct} $self->dump; close $ct; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Crontab-1.42/META.json new/Config-Crontab-1.43/META.json --- old/Config-Crontab-1.42/META.json 2017-01-12 18:18:14.000000000 +0100 +++ new/Config-Crontab-1.43/META.json 2017-02-27 18:45:49.000000000 +0100 @@ -4,7 +4,7 @@ "Scott Wiersdorf <sc...@perlcode.org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380", + "generated_by" : "ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005", "license" : [ "unknown" ], @@ -35,5 +35,6 @@ } }, "release_status" : "stable", - "version" : "1.42" + "version" : "1.43", + "x_serialization_backend" : "JSON::PP version 2.27300_01" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Crontab-1.42/META.yml new/Config-Crontab-1.43/META.yml --- old/Config-Crontab-1.42/META.yml 2017-01-12 18:18:13.000000000 +0100 +++ new/Config-Crontab-1.43/META.yml 2017-02-27 18:45:42.000000000 +0100 @@ -3,19 +3,20 @@ author: - 'Scott Wiersdorf <sc...@perlcode.org>' build_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' configure_requires: - ExtUtils::MakeMaker: 0 + ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380' +generated_by: 'ExtUtils::MakeMaker version 7.1002, CPAN::Meta::Converter version 2.150005' license: unknown meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + version: '1.4' name: Config-Crontab no_index: directory: - t - inc requires: {} -version: 1.42 +version: '1.43' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Config-Crontab-1.42/t/07_write.t new/Config-Crontab-1.43/t/07_write.t --- old/Config-Crontab-1.42/t/07_write.t 2016-01-03 04:58:35.000000000 +0100 +++ new/Config-Crontab-1.43/t/07_write.t 2017-02-27 18:40:02.000000000 +0100 @@ -8,7 +8,7 @@ unless( have_crontab() ) { plan skip_all => "no crontab available"; } -plan tests => 41; +plan tests => 43; use_ok('Config::Crontab'); @@ -258,6 +258,19 @@ eval { $ct = new Config::Crontab( -file => ".tmp_foo.$$", -strict => 0 ) }; ok( !$@, "unstrict clean" ); +undef $ct; +$ct = new Config::Crontab; +$block = new Config::Crontab::Block; +$block->last( new Config::Crontab::Event( -data => '5 * * * * /bin/true' ) ); +$ct->last($block); +ok($ct->write, "crontab written"); + +undef $ct; +$ct = new Config::Crontab; +$ct->read; +like($ct->dump, qr(^5.*/bin/true$), "crontab written"); +$ct->remove_tab; + ## we don't test non-squeeze mode because it doesn't really work END {