openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2017
- 1 participants
- 3820 discussions
04 Sep '17
Hello community,
here is the log from the commit of package perl-Log-Dispatch-FileRotate for openSUSE:Factory checked in at 2017-09-04 12:36:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatch-FileRotate (Old)
and /work/SRC/openSUSE:Factory/.perl-Log-Dispatch-FileRotate.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatch-FileRotate"
Mon Sep 4 12:36:46 2017 rev:24 rq:520427 version:1.30
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Log-Dispatch-FileRotate/perl-Log-Dispatch-FileRotate.changes 2017-08-28 15:10:35.276207103 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Log-Dispatch-FileRotate.new/perl-Log-Dispatch-FileRotate.changes 2017-09-04 12:36:47.483553819 +0200
@@ -1,0 +2,14 @@
+Tue Aug 15 05:42:33 UTC 2017 - coolo(a)suse.com
+
+- updated to 1.30
+ see /usr/share/doc/packages/perl-Log-Dispatch-FileRotate/Changes
+
+ 1.30 Thu Aug 03 2017
+ - Docs: fix synopsis usage to "name" (incorrect) instead of filename
+ (correct) (Thanks Emanuele Tomasi)
+ - improve debug() routine so that all debug messages have the same layout
+ (Thanks Emanuele Tomasi)
+ - fix race condition in lockfile-race-condition.t [sic] (Thanks Emanuele
+ Tomasi)
+
+-------------------------------------------------------------------
Old:
----
Log-Dispatch-FileRotate-1.29.tar.gz
New:
----
Log-Dispatch-FileRotate-1.30.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Log-Dispatch-FileRotate.spec ++++++
--- /var/tmp/diff_new_pack.G4897J/_old 2017-09-04 12:36:49.423280917 +0200
+++ /var/tmp/diff_new_pack.G4897J/_new 2017-09-04 12:36:49.439278666 +0200
@@ -17,7 +17,7 @@
Name: perl-Log-Dispatch-FileRotate
-Version: 1.29
+Version: 1.30
Release: 0
%define cpan_name Log-Dispatch-FileRotate
Summary: Log to Files that Archive/Rotate Themselves
++++++ Log-Dispatch-FileRotate-1.29.tar.gz -> Log-Dispatch-FileRotate-1.30.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/Changes new/Log-Dispatch-FileRotate-1.30/Changes
--- old/Log-Dispatch-FileRotate-1.29/Changes 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/Changes 2017-08-03 22:33:46.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for Perl extension Log::Dispatch::FileRotate.
+1.30 Thu Aug 03 2017
+ - Docs: fix synopsis usage to "name" (incorrect) instead of filename
+ (correct) (Thanks Emanuele Tomasi)
+ - improve debug() routine so that all debug messages have the same layout
+ (Thanks Emanuele Tomasi)
+ - fix race condition in lockfile-race-condition.t [sic] (Thanks Emanuele
+ Tomasi)
+
1.29 Fri Jul 28 2017
- Fix deadlock on Windows due to the fact that stat() on a filehandle vs a
path doesn't return the same device field on Windows.
@@ -53,8 +61,6 @@
installed and only run if TEST_SIGNATURE=1 is passed to make test)
- Docs: fix synopsis reference to size parameter to make it clear that
the size is in bytes, not megabytes. [#88286]
- - Docs: fix synopsis usage to "name" (incorrect) instead of filename
- (correct)
1.21
[REMOVED] - accidental release, bad dist.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/META.json new/Log-Dispatch-FileRotate-1.30/META.json
--- old/Log-Dispatch-FileRotate-1.29/META.json 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/META.json 2017-08-03 22:33:46.000000000 +0200
@@ -16,11 +16,18 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "0"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.006"
}
},
"develop" : {
"requires" : {
+ "Dist::Zilla" : "5",
+ "Dist::Zilla::Plugin::NextRelease" : "0",
+ "Dist::Zilla::Plugin::RemovePrereqs" : "0",
+ "Dist::Zilla::PluginBundle::Filter" : "0",
+ "Dist::Zilla::PluginBundle::MSCHOUT" : "0",
+ "Software::License::Perl_5" : "0",
"Test::Pod" : "1.41"
}
},
@@ -33,7 +40,7 @@
"Log::Dispatch::Output" : "0",
"Params::Validate" : "0",
"base" : "0",
- "perl" : "5.005",
+ "perl" : "5.006",
"strict" : "0",
"version" : "0"
}
@@ -44,6 +51,7 @@
"Path::Tiny" : "0.018",
"Test::More" : "0.88",
"Test::Warn" : "0",
+ "perl" : "5.006",
"warnings" : "0"
}
}
@@ -61,7 +69,7 @@
"web" : "https://github.com/mschout/perl-log-dispatch-filerotate"
}
},
- "version" : "1.29",
+ "version" : "1.30",
"x_serialization_backend" : "Cpanel::JSON::XS version 3.0217"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/META.yml new/Log-Dispatch-FileRotate-1.30/META.yml
--- old/Log-Dispatch-FileRotate-1.29/META.yml 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/META.yml 2017-08-03 22:33:46.000000000 +0200
@@ -7,9 +7,11 @@
Path::Tiny: '0.018'
Test::More: '0.88'
Test::Warn: '0'
+ perl: '5.006'
warnings: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
+ perl: '5.006'
dynamic_config: 0
generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150005'
license: perl
@@ -25,12 +27,12 @@
Log::Dispatch::Output: '0'
Params::Validate: '0'
base: '0'
- perl: '5.005'
+ perl: '5.006'
strict: '0'
version: '0'
resources:
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Log-Dispatch-FileRotate
homepage: http://search.cpan.org/dist/Log-Dispatch-FileRotate/
repository: git://github.com/mschout/perl-log-dispatch-filerotate.git
-version: '1.29'
+version: '1.30'
x_serialization_backend: 'YAML::Tiny version 1.69'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/Makefile.PL new/Log-Dispatch-FileRotate-1.30/Makefile.PL
--- old/Log-Dispatch-FileRotate-1.29/Makefile.PL 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/Makefile.PL 2017-08-03 22:33:46.000000000 +0200
@@ -2,7 +2,7 @@
use strict;
use warnings;
-use 5.005;
+use 5.006;
use ExtUtils::MakeMaker;
@@ -14,7 +14,7 @@
},
"DISTNAME" => "Log-Dispatch-FileRotate",
"LICENSE" => "perl",
- "MIN_PERL_VERSION" => "5.005",
+ "MIN_PERL_VERSION" => "5.006",
"NAME" => "Log::Dispatch::FileRotate",
"PREREQ_PM" => {
"Date::Manip" => 0,
@@ -34,7 +34,7 @@
"Test::Warn" => 0,
"warnings" => 0
},
- "VERSION" => "1.29",
+ "VERSION" => "1.30",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/README new/Log-Dispatch-FileRotate-1.30/README
--- old/Log-Dispatch-FileRotate-1.29/README 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/README 2017-08-03 22:33:46.000000000 +0200
@@ -1,7 +1,7 @@
This archive contains the distribution Log-Dispatch-FileRotate,
-version 1.29:
+version 1.30:
Log to Files that Archive/Rotate Themselves
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/SIGNATURE new/Log-Dispatch-FileRotate-1.30/SIGNATURE
--- old/Log-Dispatch-FileRotate-1.29/SIGNATURE 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/SIGNATURE 2017-08-03 22:33:46.000000000 +0200
@@ -14,18 +14,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-SHA1 117fb6a8ebe95e7bc99da90302d2ab6c601a658a Changes
+SHA1 3a602e6780f7b60aa4eb1a29a9e4f1a9bbfd100b Changes
SHA1 bab88f54ea8c7c2588e407bd69fad8bf7cb47c1b LICENSE
SHA1 4a7726f10a2d40e2ddf0907f67e92453f03e466a MANIFEST
SHA1 eb174e472fc75cb6a5a5f04e1dc740d569ad310b MANIFEST.SKIP
-SHA1 b80a323a6a0a20509667e20879f6e3809010e9ff META.json
-SHA1 8ab48a984f989b1e156c1543f53f0cf4a9ec7878 META.yml
-SHA1 95b3d9dfc8f9c0522d58d0626377b26365372ba8 Makefile.PL
-SHA1 4f55a0709453c16ee46a1f7ede1de6c4f6ce83d4 README
-SHA1 6baf938139d4ed75d632f2b1d68e100991c5d766 lib/Log/Dispatch/FileRotate.pm
-SHA1 468e2f4cfd487b11e031a13ac79a56b2cc502d23 t/author-lockfile-race-condition.t
+SHA1 66cfd024c8106a83fa2c16d48b2f8cb88728243f META.json
+SHA1 65f7e36843f1a451495c777255f2cd8a0f2cc1e4 META.yml
+SHA1 a7d337efacf1e35b7f20a1ce939abe0dc6e293eb Makefile.PL
+SHA1 53daed22e1063f3296ec4fdc97304cdcbd576e0d README
+SHA1 cc766361770b8b40fd3c94d3011f82159fcda9cf lib/Log/Dispatch/FileRotate.pm
+SHA1 2795a301bfcb88ecd1eb29bc1be9fa7610acbb42 t/author-lockfile-race-condition.t
SHA1 8efad25309730a4d501fb40fc03eda4697303372 t/author-pod-syntax.t
-SHA1 c985a5f343adfd44c02ddf90efa70d3601d1c34b t/author-signature.t
+SHA1 19cc343f8a85c6805bbeb02580487483a6283887 t/author-signature.t
SHA1 1b0ff3264a10a8bbb678cc7cbec943d838fc7677 t/basic.t
SHA1 15be71bdf578a8bfc9f43a23751320c1e196ea8b t/file-open-failure.t
SHA1 7b7eeff7d92376f5a9ba9b4fe65869b3532c014e t/lockfile-open-failure.t
@@ -34,17 +34,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIVAwUBWXtVIKQl27WkM10aAQhqkg//Znl8z8bxvhcA1NcdSGRT6n0eSqkh4RTx
-ag86+NcSFIMBrKf8I49T3zGJpUSgYvafT2PFhGvRlpL74yaAQmfS6nLa+tJv/ZsX
-fj2TL6U9Oi+KpppkWXSPvbHL5mCwJq576lnVzLec8AcbfRLKJVungzCLOd3DZxdM
-dA6PbYyA9QIUlt3iVhY8U3m4OYGB9Exu2Odb9I5oMDiIRPA6TMkOpCQcBXVjWXqn
-Qlbf9RaqsOMAPRgivYEk/74NFbgZkmzKRcp7yjnzg56s+xAJfV3StrpIwrjv850q
-hPxsnXC9R4rq1n2d1Bz1JZXfuqOb/Q9QIPtgGdov5ySxoy1Hxh8LZNv8zLqcb/i1
-Md6s6jLcC0MxkhJE7oALLXgHLTYg8jCqPyu3COSz8PSeTZKfsnRzmtH31X4Qou2j
-zsFdJKYq/mT+GD03RmwR+4BhV+MyHOnY0pHYT58xkXxvHU7jM0xQ9nQ+BZBsscx9
-yN0pPKERMK9Yt7IHq3sISuMZdkKBFtn2qVT/TQ96BqYhDA54QH9O3R3QIqUfr23o
-NNcJtLQMVxOHn5C+XEBwAYYR9Gz8SdSnhyVhofllj0CzLv6yVYwXT3WvhA8O19jT
-tgQlTOoOlskqqKyG6x4gwlUZsTR2wnPnpclCPFN5o3PvtSEfFHWayjXSWmAipJ0b
-htiV0L/Mn+A=
-=g55+
+iQIVAwUBWYOIqqQl27WkM10aAQh8xg/+NE1ZqcinAbRBbf63Vz7ERU22ms8vLcyl
+Z0J2A5J5dp8sb7PdAmnE3NJ7kR6MtjOw5p43sQYcmsvjXuX9/xNXbA7x17M70fsN
+RjSNIEHjTwB3AI4h09MrUxCpkJQGBlUh9lq63TfOyLxFG0wyumYmdYXXo9iAQjV6
+st9ST4RBwfAT2Z/l21JbmRORuue5kRnsOD0B8pAwzDfcCXccbX52IY+RKInHipV5
+fL7RSTcShfleMzVW3+p4pbXHi3Bh/NRmNzt7A1mnqI5TR7FZr9EpN1a3gDOMGgji
+W5AbC1yOnaE8JDhsin8AEkN2dciiziST8GsfueFwZyRMBp0YfTVMRDeVsdnW9qXo
+ITkAbtJOGvwCuSEssn21Y9l35jdQeCXK+eKMYLvSYoUEpc9ZWdsnHmZ6HGl7hV/R
+DKJHWV+tEP9HwA+8jclyrO+VeXZBqPwws3xyWdUFAsQdp4K5UcKE+l7FhfxIU2Lo
+cwzTHK9Va+8n90wLaPVDMTlZHZDGzIqoSfqBlbQUJ8rKWdgtsVDDZkQ706GuFbYX
+VxHa0Ht9EOgSCzTjMaokkhBzDOxPp95d17azmqkHI0Gz4q9iSdF21CHQOjSpu8CR
+lQU455L3X6JyU699nN3/sNqq222T0AjS1ary/JucRSYfdBhSxf8fTjcdPqpGVRXS
+6D4+3QDayfY=
+=Qt41
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/lib/Log/Dispatch/FileRotate.pm new/Log-Dispatch-FileRotate-1.30/lib/Log/Dispatch/FileRotate.pm
--- old/Log-Dispatch-FileRotate-1.29/lib/Log/Dispatch/FileRotate.pm 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/lib/Log/Dispatch/FileRotate.pm 2017-08-03 22:33:46.000000000 +0200
@@ -1,5 +1,5 @@
package Log::Dispatch::FileRotate;
-$Log::Dispatch::FileRotate::VERSION = '1.29';
+$Log::Dispatch::FileRotate::VERSION = '1.30';
# ABSTRACT: Log to Files that Archive/Rotate Themselves
require 5.005;
@@ -28,7 +28,8 @@
my $self = bless {}, $class;
- $self->{'debug'} = 0;
+ # Turn ON/OFF debugging as required
+ $self->{debug} = $p{DEBUG};
$self->_basic_init(%p);
$self->{'LDF'} = Log::Dispatch::File->new(%p); # Our log
$self->{'timer'} = sub { time() } unless defined $self->{'timer'};
@@ -36,9 +37,6 @@
# Keep a copy of interesting stuff as well
$self->{params} = \%p;
- # Turn ON/OFF debugging as required
- $p{'DEBUG'} ? $self->debug(1) : $self->debug(0);
-
# Size defaults to 10meg in all failure modes, hopefully
my $ten_meg = 1024*1024*10;
my $two_gig = 1024*1024*1024*2;
@@ -63,7 +61,7 @@
$f = $name unless $f;
my $lockfile = File::Spec->catpath($vol, $dir, ".".$f.".LCK");
- warn "Lock file is $lockfile\n" if $self->{'debug'};
+ $self->debug("Lock file is $lockfile");
$self->{lf} = $lockfile;
# Have we been called with a time based rotation pattern then setup
@@ -181,7 +179,7 @@
}
my $abs = $self->_get_next_occurance($pat);
- warn "Adding [dates,pat] =>[$abs,$pat]\n" if $self->{debug};
+ $self->debug("Adding [dates,pat] =>[$abs,$pat]");
my $ref = [$abs, $pat];
push(@{$self->{'recurrance'}}, $ref);
@@ -213,15 +211,15 @@
return;
}
- warn "$$ got lock\n" if $self->{debug};
+ $self->debug("got lock");
my $have_to_rotate = 0;
my $size = (stat($fh))[7]; # Stat the handle to get real size
my $inode = (stat($fh))[1]; # get real inode
my $finode = (stat($name))[1]; # Stat the name for comparision
- warn localtime()." $$ s=$size, i=$inode, f=".
+ $self->debug("s=$size, i=$inode, f=".
(defined $finode ? $finode : "undef") .
- ", n=$name\n" if $self->{debug};
+ ", n=$name");
# If finode and inode are the same then nobody has done a rename
# under us and we can continue. Otherwise just close and reopen.
@@ -231,7 +229,7 @@
delete $self->{LDF}; # Should get rid of current LDF
$self->{LDF} = Log::Dispatch::File->new(%{$self->{params}}); # Our log
- warn localtime()." $$ Someone else rotated: normal log\n" if $self->{debug};
+ $self->debug("Someone else rotated: normal log");
}
else
{
@@ -244,9 +242,9 @@
$have_to_rotate = 1;
}
- warn localtime()." $$ in time mode: $in_time_mode; time to rotate: $time_to_rotate;"
+ $self->debug("in time mode: $in_time_mode; time to rotate: $time_to_rotate;"
." rotate by size: $rotate_by_size; check_both: $check_both;"
- ." have to rotate: $have_to_rotate\n" if $self->{debug};
+ ." have to rotate: $have_to_rotate");
}
if($have_to_rotate)
@@ -256,33 +254,34 @@
my $idx = $numfiles -1;
- warn localtime() . " $$ Rotating\n" if $self->{debug};
+ $self->debug("Rotating");
while($idx >= 0)
{
if($idx <= 0)
{
- warn "$$ rename $name $name.1\n" if $self->{debug};
+ $self->debug("rename $name $name.1");
rename($name, "$name.1");
}
else
{
- warn "$$ rename $name.$idx $name.".($idx+1)."\n" if $self->{debug};
+ $self->debug("rename $name.$idx $name.".($idx+1));
rename("$name.$idx", "$name.".($idx+1));
}
$idx--;
}
- warn localtime() . " $$ Rotating Done\n" if $self->{debug};
+ $self->debug("Rotating Done");
# reopen the logfile for writing.
$self->{LDF} = Log::Dispatch::File->new(%{$self->{params}}); # Our log
# Write it out
- warn localtime()." $$ rotated: normal log\n" if $self->{debug};
+ $self->debug("rotated: normal log");
}
$self->logit($p{message});
+ $self->debug("releasing lock");
safe_flock($lfh, LOCK_UN);
}
@@ -374,13 +373,13 @@
if($ftime <= $abs)
{
# Then we need to rotate
- warn "Need rotate file($ftime) <= $abs\n" if $self->{debug};
+ $self->debug("Need rotate file($ftime) <= $abs");
$rotate++;
$dorotate++; # Just for debugging
}
# Move to next occurance regardless
- warn "Dropping initial occurance($abs)\n" if $self->{debug};
+ $self->debug("Dropping initial occurance($abs)");
$abs = $self->_get_next_occurance($pat);
unless(defined $abs && $abs)
{
@@ -393,7 +392,7 @@
elsif($abs <= $tm)
{
# Then we need to rotate
- warn "Need rotate $abs <= $tm\n" if $self->{debug};
+ $self->debug("Need rotate $abs <= $tm");
$abs = $self->_get_next_occurance($pat);
unless(defined $abs && $abs)
{
@@ -404,14 +403,14 @@
$dorotate++; # Just for debugging
}
push(@{$self->{'recurrance'}},[$abs,$pat]) if $abs;
- warn "time_to_rotate(mode,rotate,next) => ($mode,$dorotate,$abs)\n" if $self->{debug};
+ $self->debug("time_to_rotate(mode,rotate,next) => ($mode,$dorotate,$abs)");
}
}
$self->{'new'} = 0; # No longer brand-spankers
- warn "time_to_rotate(mode,rotate) => ($mode,$rotate)\n" if $self->{debug};
+ $self->debug("time_to_rotate(mode,rotate) => ($mode,$rotate)");
return wantarray ? ($mode,$rotate) : $rotate;
}
@@ -477,7 +476,7 @@
# we may rotate for every message we recieve with in this second :-(
my $start = DateCalc($base,"+ 1 second");
- warn "ParseRecur($pat,$base,$start,$range);\n" if $self->{debug};
+ $self->debug("ParseRecur($pat,$base,$start,$range);");
my @dates = ParseRecur($pat,$base,$start,$range);
# Just in case we have a bad parse or our assumptions are wrong.
@@ -500,10 +499,7 @@
{
my($y,$m,$d,$h,$mn,$s) = Date::Manip::UnixDate($_, @a);
my $e = Date_SecsSince1970GMT($m,$d,$y,$h,$mn,$s);
- if( $self->{debug} )
- {
- warn "Date to epochs ($_) => ($e)\n";
- }
+ $self->debug("Date to epochs ($_) => ($e)");
push @epochs, $e;
}
@@ -528,10 +524,8 @@
shift(@epochs) while @epochs && ( $epochs[0] <= $now);
}
- if($self->{debug})
- {
- warn "Recurrances are at: ".join("\n\t", @dates),"\n";
- }
+ $self->debug("Recurrances are at: ".join("\n\t", @dates));
+
warn "No recurrances found! Probably a timezone issue!\n" unless @dates;
return @epochs;
@@ -588,15 +582,16 @@
# Make sure we are at the EOF
seek($self->{LDF}->{fh}, 0, 2);
- warn localtime() ." $$ Locked\n" if $self->{debug};
+ $self->debug("Locked");
return;
}
sub unlock
{
my $self = shift;
+
safe_flock($self->{LDF}->{fh},LOCK_UN);
- warn localtime() . " $$ unLocked\n" if $self->{debug};
+ $self->debug("unLocked");
}
# Inspired by BSD's flopen(), returns filehandle on success
@@ -617,7 +612,6 @@
}
my @path_stat = stat $path;
-
unless (@path_stat) {
# file disappeared fron under our feet
close $fh;
@@ -670,7 +664,14 @@
sub debug
{
- $_[0]->{'debug'} = $_[1];
+ my $self = shift;
+ my ($message) = @_;
+
+ return unless($self->{debug});
+
+ warn localtime() . " $$ $message\n";
+
+ return;
}
=pod
@@ -681,14 +682,14 @@
=head1 VERSION
-version 1.29
+version 1.30
=head1 SYNOPSIS
use Log::Dispatch::FileRotate;
my $file = Log::Dispatch::FileRotate->new(
- filename => 'file1',
+ name => 'file1',
min_level => 'info',
filename => 'Somefile.log',
mode => 'append' ,
@@ -698,7 +699,7 @@
# or for a time based rotation
my $file = Log::Dispatch::FileRotate->new(
- filename => 'file1',
+ name => 'file1',
min_level => 'info',
filename => 'Somefile.log',
mode => 'append' ,
@@ -944,7 +945,7 @@
=head1 SOURCE
-The development version is on github at L<http://github.com/mschout/perl-log-dispatch-filerotate>
+The development version is on github at L<https://github.com/mschout/perl-log-dispatch-filerotate>
and may be cloned from L<git://github.com/mschout/perl-log-dispatch-filerotate.git>
=head1 BUGS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/t/author-lockfile-race-condition.t new/Log-Dispatch-FileRotate-1.30/t/author-lockfile-race-condition.t
--- old/Log-Dispatch-FileRotate-1.29/t/author-lockfile-race-condition.t 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/t/author-lockfile-race-condition.t 2017-08-03 22:33:46.000000000 +0200
@@ -53,7 +53,7 @@
my $output = read_warnings($warnings_file);
-is $output, 'got lock:exiting:got lock:exiting:got lock:exiting';
+is $output, 'got lock:releasing lock:got lock:releasing lock:got lock:releasing lock';
# shim a delay in before logit() so that it will wait for the child process
# to enter the critical section
@@ -77,8 +77,9 @@
my $msg = shift;
# we only want the "got lock" and "exiting" lines
- if ($msg =~ /got lock/ or $msg =~ /exiting/) {
- # strip off pid numbers from front of message
+ if ($msg =~ /got lock/ or $msg =~ /releasing/) {
+ # strip off dates and pid numbers from front of message
+ $msg = substr($msg, 25);
$msg =~ s/^[0-9]+ //;
# save in the warnings file
@@ -107,8 +108,6 @@
}
}
- warn "$$ exiting\n";
-
delete $SIG{__WARN__};
close $warnfh;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-FileRotate-1.29/t/author-signature.t new/Log-Dispatch-FileRotate-1.30/t/author-signature.t
--- old/Log-Dispatch-FileRotate-1.29/t/author-signature.t 2017-07-28 17:15:44.000000000 +0200
+++ new/Log-Dispatch-FileRotate-1.30/t/author-signature.t 2017-08-03 22:33:46.000000000 +0200
@@ -7,6 +7,7 @@
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::AuthorSignatureTest
use strict;
use warnings;
1
0
Hello community,
here is the log from the commit of package perl-Log-Dispatch for openSUSE:Factory checked in at 2017-09-04 12:36:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Log-Dispatch (Old)
and /work/SRC/openSUSE:Factory/.perl-Log-Dispatch.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Log-Dispatch"
Mon Sep 4 12:36:41 2017 rev:42 rq:520425 version:2.66
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Log-Dispatch/perl-Log-Dispatch.changes 2017-06-21 13:57:26.373271955 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Log-Dispatch.new/perl-Log-Dispatch.changes 2017-09-04 12:36:41.992326385 +0200
@@ -1,0 +2,11 @@
+Wed Aug 16 05:43:04 UTC 2017 - coolo(a)suse.com
+
+- updated to 2.66
+ see /usr/share/doc/packages/perl-Log-Dispatch/Changes
+
+ 2.66 2017-08-14
+
+ - Fixed the ApacheLog output, which was broken in 2.60. Fixed by Michael
+ Schout. GitHub #48 and #49.
+
+-------------------------------------------------------------------
Old:
----
Log-Dispatch-2.65.tar.gz
New:
----
Log-Dispatch-2.66.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Log-Dispatch.spec ++++++
--- /var/tmp/diff_new_pack.7iOLIG/_old 2017-09-04 12:36:43.804071488 +0200
+++ /var/tmp/diff_new_pack.7iOLIG/_new 2017-09-04 12:36:43.812070363 +0200
@@ -17,7 +17,7 @@
Name: perl-Log-Dispatch
-Version: 2.65
+Version: 2.66
Release: 0
%define cpan_name Log-Dispatch
Summary: Dispatches messages to one or more outputs
++++++ Log-Dispatch-2.65.tar.gz -> Log-Dispatch-2.66.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/Changes new/Log-Dispatch-2.66/Changes
--- old/Log-Dispatch-2.65/Changes 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/Changes 2017-08-15 04:47:14.000000000 +0200
@@ -1,3 +1,9 @@
+2.66 2017-08-14
+
+- Fixed the ApacheLog output, which was broken in 2.60. Fixed by Michael
+ Schout. GitHub #48 and #49.
+
+
2.65 2017-06-11
- When Log::Dispatch::File is asked to chmod a file and that fails, show the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/MANIFEST new/Log-Dispatch-2.66/MANIFEST
--- old/Log-Dispatch-2.65/MANIFEST 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/MANIFEST 2017-08-15 04:47:14.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.009.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010.
CONTRIBUTING.md
Changes
INSTALL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/META.json new/Log-Dispatch-2.66/META.json
--- old/Log-Dispatch-2.65/META.json 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/META.json 2017-08-15 04:47:14.000000000 +0200
@@ -4,7 +4,7 @@
"Dave Rolsky <autarch(a)urth.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010",
"license" : [
"artistic_2"
],
@@ -109,75 +109,75 @@
"provides" : {
"Log::Dispatch" : {
"file" : "lib/Log/Dispatch.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::ApacheLog" : {
"file" : "lib/Log/Dispatch/ApacheLog.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Base" : {
"file" : "lib/Log/Dispatch/Base.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Code" : {
"file" : "lib/Log/Dispatch/Code.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Email" : {
"file" : "lib/Log/Dispatch/Email.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Email::MIMELite" : {
"file" : "lib/Log/Dispatch/Email/MIMELite.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Email::MailSend" : {
"file" : "lib/Log/Dispatch/Email/MailSend.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Email::MailSender" : {
"file" : "lib/Log/Dispatch/Email/MailSender.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Email::MailSendmail" : {
"file" : "lib/Log/Dispatch/Email/MailSendmail.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::File" : {
"file" : "lib/Log/Dispatch/File.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::File::Locked" : {
"file" : "lib/Log/Dispatch/File/Locked.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Handle" : {
"file" : "lib/Log/Dispatch/Handle.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Null" : {
"file" : "lib/Log/Dispatch/Null.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Output" : {
"file" : "lib/Log/Dispatch/Output.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Screen" : {
"file" : "lib/Log/Dispatch/Screen.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Syslog" : {
"file" : "lib/Log/Dispatch/Syslog.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Types" : {
"file" : "lib/Log/Dispatch/Types.pm",
- "version" : "2.65"
+ "version" : "2.66"
},
"Log::Dispatch::Vars" : {
"file" : "lib/Log/Dispatch/Vars.pm",
- "version" : "2.65"
+ "version" : "2.66"
}
},
"release_status" : "stable",
@@ -192,7 +192,7 @@
"web" : "https://github.com/houseabsolute/Log-Dispatch"
}
},
- "version" : "2.65",
+ "version" : "2.66",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.024001"
@@ -206,7 +206,7 @@
}
},
"name" : "@DROLSKY/MakeMaker",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
@@ -236,27 +236,27 @@
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@DROLSKY/ManifestSkip",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@DROLSKY/License",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@DROLSKY/ExecDir",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@DROLSKY/ShareDir",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@DROLSKY/Manifest",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::CheckVersionIncrement",
@@ -266,22 +266,22 @@
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@DROLSKY/TestRelease",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@DROLSKY/ConfirmRelease",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@DROLSKY/UploadToCPAN",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::VersionFromMainModule",
"name" : "@DROLSKY/VersionFromMainModule",
- "version" : "0.02"
+ "version" : "0.03"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
@@ -291,7 +291,7 @@
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@DROLSKY/AutoPrereqs",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
@@ -316,7 +316,7 @@
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@DROLSKY/MetaResources",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -326,13 +326,13 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.009"
+ "version" : "6.010"
}
],
"include_underscores" : 0
},
"Dist::Zilla::Role::MetaProvider::Provider" : {
- "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002003",
+ "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004",
"inherit_missing" : 1,
"inherit_version" : 1,
"meta_noindex" : 1
@@ -353,22 +353,22 @@
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@DROLSKY/MetaConfig",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@DROLSKY/MetaJSON",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@DROLSKY/MetaYAML",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@DROLSKY/NextRelease",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -379,7 +379,7 @@
}
},
"name" : "@DROLSKY/Test::More with subtest",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -390,7 +390,7 @@
}
},
"name" : "@DROLSKY/Modules for use with tidyall",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -401,7 +401,7 @@
}
},
"name" : "@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -515,7 +515,7 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@DROLSKY/PodSyntaxTests",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -607,7 +607,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -808,7 +808,7 @@
{
"class" : "Dist::Zilla::Plugin::CPANFile",
"name" : "@DROLSKY/CPANFile",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::DROLSKY::License",
@@ -845,7 +845,7 @@
"class" : "Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
}
},
@@ -861,7 +861,7 @@
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
"config" : {
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
}
},
@@ -893,7 +893,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
}
},
@@ -921,7 +921,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -938,12 +938,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v2.65",
+ "tag" : "v2.66",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -963,7 +963,7 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
}
},
@@ -1003,7 +1003,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -1023,7 +1023,7 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.7.4",
+ "git_version" : "2.14.1",
"repo_root" : "."
}
},
@@ -1039,12 +1039,12 @@
}
},
"name" : "DevelopRequires",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "MostLibs",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::Test::Version",
@@ -1059,57 +1059,57 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.009"
+ "version" : "6.010"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.009"
+ "version" : "6.010"
}
],
"zilla" : {
@@ -1117,7 +1117,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.009"
+ "version" : "6.010"
}
},
"x_authority" : "cpan:DROLSKY",
@@ -1136,6 +1136,7 @@
"Kerin Millar <kfm(a)plushkava.net>",
"Kivanc Yazan <kivancyazan(a)gmail.com>",
"Konrad Bucheli <kb(a)open.ch>",
+ "Michael Schout <mschout(a)gkg.net>",
"Olaf Alders <olaf(a)wundersolutions.com>",
"Olivier Mengu\u00e9 <dolmen(a)cpan.org>",
"Rohan Carly <se456(a)rohan.id.au>",
@@ -1144,6 +1145,6 @@
"Steve Bertrand <steveb(a)cpan.org>",
"Whitney Jackson <whitney.jackson(a)baml.com>"
],
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0225"
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/META.yml new/Log-Dispatch-2.66/META.yml
--- old/Log-Dispatch-2.65/META.yml 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/META.yml 2017-08-15 04:47:14.000000000 +0200
@@ -22,7 +22,7 @@
Dist::CheckConflicts: '0.02'
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010'
license: artistic_2
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,58 +31,58 @@
provides:
Log::Dispatch:
file: lib/Log/Dispatch.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::ApacheLog:
file: lib/Log/Dispatch/ApacheLog.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Base:
file: lib/Log/Dispatch/Base.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Code:
file: lib/Log/Dispatch/Code.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Email:
file: lib/Log/Dispatch/Email.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Email::MIMELite:
file: lib/Log/Dispatch/Email/MIMELite.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Email::MailSend:
file: lib/Log/Dispatch/Email/MailSend.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Email::MailSender:
file: lib/Log/Dispatch/Email/MailSender.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Email::MailSendmail:
file: lib/Log/Dispatch/Email/MailSendmail.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::File:
file: lib/Log/Dispatch/File.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::File::Locked:
file: lib/Log/Dispatch/File/Locked.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Handle:
file: lib/Log/Dispatch/Handle.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Null:
file: lib/Log/Dispatch/Null.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Output:
file: lib/Log/Dispatch/Output.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Screen:
file: lib/Log/Dispatch/Screen.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Syslog:
file: lib/Log/Dispatch/Syslog.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Types:
file: lib/Log/Dispatch/Types.pm
- version: '2.65'
+ version: '2.66'
Log::Dispatch::Vars:
file: lib/Log/Dispatch/Vars.pm
- version: '2.65'
+ version: '2.66'
requires:
Carp: '0'
Devel::GlobalDestruction: '0'
@@ -112,7 +112,7 @@
bugtracker: https://github.com/houseabsolute/Log-Dispatch/issues
homepage: http://metacpan.org/release/Log-Dispatch
repository: git://github.com/houseabsolute/Log-Dispatch.git
-version: '2.65'
+version: '2.66'
x_Dist_Zilla:
perl:
version: '5.024001'
@@ -123,7 +123,7 @@
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@DROLSKY/MakeMaker'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Git::GatherDir
config:
@@ -147,23 +147,23 @@
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@DROLSKY/ManifestSkip'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::License
name: '@DROLSKY/License'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@DROLSKY/ExecDir'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@DROLSKY/ShareDir'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Manifest
name: '@DROLSKY/Manifest'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::CheckVersionIncrement
name: '@DROLSKY/CheckVersionIncrement'
@@ -171,19 +171,19 @@
-
class: Dist::Zilla::Plugin::TestRelease
name: '@DROLSKY/TestRelease'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@DROLSKY/ConfirmRelease'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@DROLSKY/UploadToCPAN'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::VersionFromMainModule
name: '@DROLSKY/VersionFromMainModule'
- version: '0.02'
+ version: '0.03'
-
class: Dist::Zilla::Plugin::Authority
name: '@DROLSKY/Authority'
@@ -191,7 +191,7 @@
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@DROLSKY/AutoPrereqs'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::CopyFilesFromBuild
name: '@DROLSKY/CopyFilesFromBuild'
@@ -210,7 +210,7 @@
-
class: Dist::Zilla::Plugin::MetaResources
name: '@DROLSKY/MetaResources'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -219,10 +219,10 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.009'
+ version: '6.010'
include_underscores: 0
Dist::Zilla::Role::MetaProvider::Provider:
- $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002003'
+ $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
inherit_missing: '1'
inherit_version: '1'
meta_noindex: '1'
@@ -238,19 +238,19 @@
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@DROLSKY/MetaConfig'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@DROLSKY/MetaJSON'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@DROLSKY/MetaYAML'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@DROLSKY/NextRelease'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -258,7 +258,7 @@
phase: test
type: requires
name: '@DROLSKY/Test::More with subtest'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -266,7 +266,7 @@
phase: develop
type: requires
name: '@DROLSKY/Modules for use with tidyall'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -274,7 +274,7 @@
phase: develop
type: requires
name: '@DROLSKY/Test::Version which fixes https://github.com/plicease/Test-Version/issues/7'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -373,7 +373,7 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@DROLSKY/PodSyntaxTests'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
@@ -442,7 +442,7 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.7.4
+ git_version: 2.14.1
include_authors: 0
include_releaser: 1
order_by: name
@@ -599,7 +599,7 @@
-
class: Dist::Zilla::Plugin::CPANFile
name: '@DROLSKY/CPANFile'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::DROLSKY::License
name: '@DROLSKY/DROLSKY::License'
@@ -627,7 +627,7 @@
class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
version: '0.85'
@@ -639,7 +639,7 @@
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
name: '@DROLSKY/Git::CheckFor::MergeConflicts'
version: '0.014'
@@ -664,7 +664,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
name: '@DROLSKY/Git::Check'
version: '2.042'
@@ -686,7 +686,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -699,11 +699,11 @@
branch: ~
changelog: Changes
signed: 0
- tag: v2.65
+ tag: v2.66
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -717,7 +717,7 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
name: '@DROLSKY/Git::Push'
version: '2.042'
@@ -746,7 +746,7 @@
- (?^:.+)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -760,7 +760,7 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.7.4
+ git_version: 2.14.1
repo_root: .
name: '@DROLSKY/Push version bump'
version: '2.042'
@@ -771,11 +771,11 @@
phase: develop
type: requires
name: DevelopRequires
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: MostLibs
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::Test::Version
name: Test::Version
@@ -787,52 +787,52 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.009'
+ version: '6.010'
-
class: Dist::Zilla::Plugin::FinderCode
name: '@DROLSKY/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.009'
+ version: '6.010'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '6.009'
+ version: '6.010'
x_authority: cpan:DROLSKY
x_breaks:
Log::Dispatch::File::Stamped: '<= 0.17'
@@ -848,6 +848,7 @@
- 'Kerin Millar <kfm(a)plushkava.net>'
- 'Kivanc Yazan <kivancyazan(a)gmail.com>'
- 'Konrad Bucheli <kb(a)open.ch>'
+ - 'Michael Schout <mschout(a)gkg.net>'
- 'Olaf Alders <olaf(a)wundersolutions.com>'
- 'Olivier Mengué <dolmen(a)cpan.org>'
- 'Rohan Carly <se456(a)rohan.id.au>'
@@ -855,4 +856,4 @@
- 'Salvador Fandiño <sfandino(a)yahoo.com>'
- 'Steve Bertrand <steveb(a)cpan.org>'
- 'Whitney Jackson <whitney.jackson(a)baml.com>'
-x_serialization_backend: 'YAML::Tiny version 1.69'
+x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/Makefile.PL new/Log-Dispatch-2.66/Makefile.PL
--- old/Log-Dispatch-2.65/Makefile.PL 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/Makefile.PL 2017-08-15 04:47:14.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.009.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010.
use strict;
use warnings;
@@ -60,7 +60,7 @@
"lib" => 0,
"utf8" => 0
},
- "VERSION" => "2.65",
+ "VERSION" => "2.66",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/README.md new/Log-Dispatch-2.66/README.md
--- old/Log-Dispatch-2.65/README.md 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/README.md 2017-08-15 04:47:14.000000000 +0200
@@ -4,7 +4,7 @@
# VERSION
-version 2.65
+version 2.66
# SYNOPSIS
@@ -409,6 +409,7 @@
- Kerin Millar <kfm(a)plushkava.net>
- Kivanc Yazan <kivancyazan(a)gmail.com>
- Konrad Bucheli <kb(a)open.ch>
+- Michael Schout <mschout(a)gkg.net>
- Olaf Alders <olaf(a)wundersolutions.com>
- Olivier Mengué <dolmen(a)cpan.org>
- Rohan Carly <se456(a)rohan.id.au>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/ApacheLog.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/ApacheLog.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/ApacheLog.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/ApacheLog.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Log::Dispatch::Types;
use Params::ValidationCompiler qw( validation_for );
@@ -27,7 +27,7 @@
sub new {
my $class = shift;
- my %p = validator->(@_);
+ my %p = $validator->(@_);
my $self = bless { apache_log => ( delete $p{apache} )->log }, $class;
$self->_basic_init(%p);
@@ -71,7 +71,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Base.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Base.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Base.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Base.pm 2017-08-15 04:47:14.000000000 +0200
@@ -4,7 +4,7 @@
use warnings;
use Scalar::Util qw( refaddr );
-our $VERSION = '2.65';
+our $VERSION = '2.66';
## no critic (Subroutines::ProhibitUnusedPrivateSubroutines)
sub _apply_callbacks {
@@ -62,7 +62,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Code.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Code.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Code.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Code.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Log::Dispatch::Types;
use Params::ValidationCompiler qw( validation_for );
@@ -53,7 +53,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MIMELite.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MIMELite.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MIMELite.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MIMELite.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use MIME::Lite;
@@ -44,7 +44,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSend.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSend.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSend.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSend.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Mail::Send;
use Try::Tiny;
@@ -56,7 +56,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSender.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSender.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSender.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSender.pm 2017-08-15 04:47:14.000000000 +0200
@@ -8,7 +8,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Log::Dispatch::Types;
use Mail::Sender ();
@@ -114,7 +114,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSendmail.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSendmail.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Email/MailSendmail.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Email/MailSendmail.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Mail::Sendmail ();
@@ -44,7 +44,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Email.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Email.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Email.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Email.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Devel::GlobalDestruction qw( in_global_destruction );
use Log::Dispatch::Types;
@@ -117,7 +117,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/File/Locked.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/File/Locked.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/File/Locked.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/File/Locked.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Fcntl qw(:DEFAULT :flock);
@@ -59,7 +59,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/File.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/File.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/File.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/File.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use IO::Handle;
use Log::Dispatch::Types;
@@ -172,7 +172,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Handle.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Handle.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Handle.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Handle.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Log::Dispatch::Types;
use Params::ValidationCompiler qw( validation_for );
@@ -51,7 +51,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Null.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Null.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Null.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Null.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use base qw( Log::Dispatch::Output );
@@ -34,7 +34,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Output.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Output.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Output.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Output.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Carp ();
use Try::Tiny;
@@ -204,7 +204,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Screen.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Screen.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Screen.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Screen.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Encode qw( encode );
use IO::Handle;
@@ -76,7 +76,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Syslog.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Syslog.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Syslog.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Syslog.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Log::Dispatch::Types;
use Params::ValidationCompiler qw( validation_for );
@@ -137,7 +137,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Types.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Types.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Types.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Types.pm 2017-08-15 04:47:14.000000000 +0200
@@ -4,7 +4,7 @@
use warnings;
use namespace::autoclean;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use parent 'Specio::Exporter';
@@ -84,7 +84,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch/Vars.pm new/Log-Dispatch-2.66/lib/Log/Dispatch/Vars.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch/Vars.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch/Vars.pm 2017-08-15 04:47:14.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Exporter qw( import );
@@ -69,7 +69,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/lib/Log/Dispatch.pm new/Log-Dispatch-2.66/lib/Log/Dispatch.pm
--- old/Log-Dispatch-2.65/lib/Log/Dispatch.pm 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/lib/Log/Dispatch.pm 2017-08-15 04:47:14.000000000 +0200
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = '2.65';
+our $VERSION = '2.66';
use Carp ();
use Log::Dispatch::Types;
@@ -298,7 +298,7 @@
=head1 VERSION
-version 2.65
+version 2.66
=head1 SYNOPSIS
@@ -711,7 +711,7 @@
=head1 CONTRIBUTORS
-=for stopwords Anirvan Chatterjee Carsten Grohmann Doug Bell Graham Ollis Gregory Oschwald Johann Rolschewski Jonathan Swartz Karen Etheridge Kerin Millar Kivanc Yazan Konrad Bucheli Olaf Alders Olivier Mengué Rohan Carly Ross Attrill Salvador Fandiño Steve Bertrand Whitney Jackson
+=for stopwords Anirvan Chatterjee Carsten Grohmann Doug Bell Graham Ollis Gregory Oschwald Johann Rolschewski Jonathan Swartz Karen Etheridge Kerin Millar Kivanc Yazan Konrad Bucheli Michael Schout Olaf Alders Olivier Mengué Rohan Carly Ross Attrill Salvador Fandiño Steve Bertrand Whitney Jackson
=over 4
@@ -761,6 +761,10 @@
=item *
+Michael Schout <mschout(a)gkg.net>
+
+=item *
+
Olaf Alders <olaf(a)wundersolutions.com>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/xt/author/pod-coverage.t new/Log-Dispatch-2.66/xt/author/pod-coverage.t
--- old/Log-Dispatch-2.65/xt/author/pod-coverage.t 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/xt/author/pod-coverage.t 2017-08-15 04:47:14.000000000 +0200
@@ -26,13 +26,13 @@
plan tests => scalar @modules;
my %trustme = (
- 'Log::Dispatch::File' => [
- qr/^(?:O_)?APPEND$/
- ],
'Log::Dispatch' => [
qr/^(?:warn|err|crit|emerg)$/,
qr/^is_\w+$/
],
+ 'Log::Dispatch::File' => [
+ qr/^(?:O_)?APPEND$/
+ ],
'Log::Dispatch::Output' => [
qr/^new$/
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Log-Dispatch-2.65/xt/author/pod-spell.t new/Log-Dispatch-2.66/xt/author/pod-spell.t
--- old/Log-Dispatch-2.65/xt/author/pod-spell.t 2017-06-12 01:58:55.000000000 +0200
+++ new/Log-Dispatch-2.66/xt/author/pod-spell.t 2017-08-15 04:47:14.000000000 +0200
@@ -56,6 +56,7 @@
MailSendmail
Manfredi
Mengué
+Michael
Millar
Miyagawa
NTLM
@@ -76,6 +77,7 @@
STDOUT
Salvador
Schilli
+Schout
Screen
Steve
Straup
@@ -117,6 +119,7 @@
lib
logopt
mail
+mschout
multi
olaf
params
1
0
Hello community,
here is the log from the commit of package perl-Test-Spec for openSUSE:Factory checked in at 2017-09-04 12:36:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Spec (Old)
and /work/SRC/openSUSE:Factory/.perl-Test-Spec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-Spec"
Mon Sep 4 12:36:39 2017 rev:13 rq:520424 version:0.52
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Spec/perl-Test-Spec.changes 2015-08-02 22:46:18.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Spec.new/perl-Test-Spec.changes 2017-09-04 12:36:39.900620668 +0200
@@ -1,0 +2,14 @@
+Wed Aug 16 06:18:21 UTC 2017 - coolo(a)suse.com
+
+- updated to 0.52
+ see /usr/share/doc/packages/perl-Test-Spec/Changes
+
+ 0.52 Tue Aug 15 10:20:00 BST 2017
+ - Pass example instance to each test
+ Contributed by @jamhed (issue #30, #41)
+ - Fix runtests to run all examples that match any of the patterns
+ Contributed by @mpw96 (issue #37, #38)
+ - Ensure META.json includes requirements
+ Reported by @joelrebel (issue #39)
+
+-------------------------------------------------------------------
Old:
----
Test-Spec-0.51.tar.gz
New:
----
Test-Spec-0.52.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-Spec.spec ++++++
--- /var/tmp/diff_new_pack.8esxnb/_old 2017-09-04 12:36:41.196438358 +0200
+++ /var/tmp/diff_new_pack.8esxnb/_new 2017-09-04 12:36:41.204437233 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Spec
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Test-Spec
-Version: 0.51
+Version: 0.52
Release: 0
%define cpan_name Test-Spec
Summary: Write tests in a declarative specification style
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Spec/
-Source0: http://www.cpan.org/authors/id/A/AN/ANDYJONES/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDYJONES/%{cpan_name}-%{version}…
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -57,7 +57,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
++++++ Test-Spec-0.51.tar.gz -> Test-Spec-0.52.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/Changes new/Test-Spec-0.52/Changes
--- old/Test-Spec-0.51/Changes 2015-07-27 21:07:38.000000000 +0200
+++ new/Test-Spec-0.52/Changes 2017-08-15 11:51:50.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for Perl extension Test::Spec.
+0.52 Tue Aug 15 10:20:00 BST 2017
+ - Pass example instance to each test
+ Contributed by @jamhed (issue #30, #41)
+ - Fix runtests to run all examples that match any of the patterns
+ Contributed by @mpw96 (issue #37, #38)
+ - Ensure META.json includes requirements
+ Reported by @joelrebel (issue #39)
+
0.51 Mon Jul 27 20:05:00 BST 2015
- Fixed top level describe blocks running out of order
Contributed by @mla (issue #28)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/MANIFEST new/Test-Spec-0.52/MANIFEST
--- old/Test-Spec-0.51/MANIFEST 2015-07-27 21:14:00.000000000 +0200
+++ new/Test-Spec-0.52/MANIFEST 2017-08-15 11:54:25.000000000 +0200
@@ -17,9 +17,12 @@
t/disabled_spec.pl
t/dying_spec.pl
t/empty.t
+t/example_in_handler.t
t/helper_test.pl
t/import_strict.t
t/import_warnings.t
+t/manifest.t
+t/meta.t
t/mocks.t
t/mocks_imports.t
t/ordering.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/META.json new/Test-Spec-0.52/META.json
--- old/Test-Spec-0.51/META.json 2015-07-27 21:14:00.000000000 +0200
+++ new/Test-Spec-0.52/META.json 2017-08-15 11:54:25.000000000 +0200
@@ -4,13 +4,13 @@
"Philip Garrett <philip.garrett(a)icainformatics.com>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter version 2.120630",
+ "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-Spec",
"no_index" : {
@@ -19,6 +19,33 @@
"inc"
]
},
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
+ "Exporter" : "0",
+ "List::Util" : "0",
+ "Package::Stash" : "0.23",
+ "Scalar::Util" : "1.11",
+ "TAP::Parser" : "0",
+ "Test::Deep" : "0.103",
+ "Test::More" : "0.88",
+ "Test::Trap" : "0",
+ "Tie::IxHash" : "0",
+ "constant" : "0"
+ }
+ }
+ },
"release_status" : "stable",
"resources" : {
"bugtracker" : {
@@ -30,5 +57,6 @@
"web" : "https://github.com/kingpong/perl-Test-Spec"
}
},
- "version" : "0.51"
+ "version" : "0.52",
+ "x_serialization_backend" : "JSON::PP version 2.94"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/META.yml new/Test-Spec-0.52/META.yml
--- old/Test-Spec-0.51/META.yml 2015-07-27 21:14:00.000000000 +0200
+++ new/Test-Spec-0.52/META.yml 2017-08-15 11:54:25.000000000 +0200
@@ -2,19 +2,35 @@
abstract: 'Write tests in a declarative specification style'
author:
- 'Philip Garrett <philip.garrett(a)icainformatics.com>'
-build_requires: {}
+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'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Test-Spec
no_index:
directory:
- t
- inc
+requires:
+ Carp: '0'
+ Exporter: '0'
+ List::Util: '0'
+ Package::Stash: '0.23'
+ Scalar::Util: '1.11'
+ TAP::Parser: '0'
+ Test::Deep: '0.103'
+ Test::More: '0.88'
+ Test::Trap: '0'
+ Tie::IxHash: '0'
+ constant: '0'
resources:
bugtracker: https://github.com/kingpong/perl-Test-Spec/issues
repository: https://github.com/kingpong/perl-Test-Spec
-version: 0.51
+version: '0.52'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.011'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/lib/Test/Spec/Context.pm new/Test-Spec-0.52/lib/Test/Spec/Context.pm
--- old/Test-Spec-0.51/lib/Test/Spec/Context.pm 2015-04-19 19:10:20.000000000 +0200
+++ new/Test-Spec-0.52/lib/Test/Spec/Context.pm 2017-08-15 11:40:37.000000000 +0200
@@ -375,18 +375,18 @@
# for giving individual tests mortal, anonymous contexts that are used for
# mocking/stubbing hooks.
sub _in_anonymous_context {
- my ($self,$code) = @_;
+ my ($self,$code,$example) = @_;
my $context = Test::Spec::Context->new;
$context->name('');
$context->parent($self);
$context->class($self->class);
- $context->contextualize($code);
+ $context->contextualize($code, $example);
}
# Runs $code within a context (specifically, having been wrapped with
# on_enter/on_leave setup and teardown).
sub contextualize {
- my ($self,$code) = @_;
+ my ($self,$code,$example) = @_;
local $Test::Spec::_Current_Context = $self;
local $self->{_has_run_on_enter} = {};
local $self->{_has_run_on_leave} = {};
@@ -397,7 +397,7 @@
push @errs, $@ if $@;
if (not @errs) {
- eval { $code->() };
+ eval { $code->($example) };
push @errs, $@ if $@;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/lib/Test/Spec/Example.pm new/Test-Spec-0.52/lib/Test/Spec/Example.pm
--- old/Test-Spec-0.51/lib/Test/Spec/Example.pm 2015-04-19 19:10:20.000000000 +0200
+++ new/Test-Spec-0.52/lib/Test/Spec/Example.pm 2017-08-15 11:40:37.000000000 +0200
@@ -131,7 +131,7 @@
$self->_runner(@remainder);
}
else {
- $ctx->_in_anonymous_context($self->code);
+ $ctx->_in_anonymous_context($self->code, $self);
}
$ctx->_run_after('each');
# "after 'all'" only happens during context destruction (DEMOLISH).
@@ -139,7 +139,7 @@
# in the case that only specific test methods are run.
# Otherwise, the global teardown would only happen when you
# happen to run the last test of the context.
- });
+ }, $self);
}
1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/lib/Test/Spec.pm new/Test-Spec-0.52/lib/Test/Spec.pm
--- old/Test-Spec-0.51/lib/Test/Spec.pm 2015-07-27 21:07:47.000000000 +0200
+++ new/Test-Spec-0.52/lib/Test/Spec.pm 2017-08-15 11:51:56.000000000 +0200
@@ -3,7 +3,7 @@
use warnings;
use Test::Trap (); # load as early as possible to override CORE::exit
-our $VERSION = '0.51';
+our $VERSION = '0.52';
use base qw(Exporter);
@@ -142,9 +142,10 @@
sub _pick_tests {
my ($class,@matchers) = @_;
my @tests = $class->tests;
- for my $pattern (@matchers) {
- @tests = grep { $_->name =~ /$pattern/i } @tests;
- }
+
+ my $pattern = join("|", @matchers);
+ @tests = grep { $_->name =~ /$pattern/i } @tests;
+
return @tests;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/t/example_in_handler.t new/Test-Spec-0.52/t/example_in_handler.t
--- old/Test-Spec-0.51/t/example_in_handler.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Spec-0.52/t/example_in_handler.t 2017-08-15 11:40:37.000000000 +0200
@@ -0,0 +1,13 @@
+#!/usr/bin/env perl
+package Testcase::Spec::ExampleInHandler;
+use Test::Spec;
+
+describe "Test::Spec" => sub {
+ it "should pass an example instance" => sub {
+ my ($example) = @_;
+ ok($example);
+ isa_ok($example, 'Test::Spec::Example');
+ };
+};
+
+runtests unless caller;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/t/manifest.t new/Test-Spec-0.52/t/manifest.t
--- old/Test-Spec-0.51/t/manifest.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Spec-0.52/t/manifest.t 2017-08-15 11:46:21.000000000 +0200
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+use Test::More;
+
+unless ($ENV{RELEASE_TESTING}) {
+ plan skip_all => "Author tests not required for installation";
+}
+
+eval "use Test::CheckManifest 0.9";
+plan skip_all => "Test::CheckManifest 0.9 required" if $@;
+ok_manifest();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/t/meta.t new/Test-Spec-0.52/t/meta.t
--- old/Test-Spec-0.51/t/meta.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Test-Spec-0.52/t/meta.t 2017-08-15 11:46:21.000000000 +0200
@@ -0,0 +1,35 @@
+use strict;
+use warnings;
+
+unless ($ENV{RELEASE_TESTING}) {
+ plan(skip_all => "Author tests not required for installation");
+}
+
+eval "use CPAN::Meta";
+plan(skip_all => "CPAN::Meta required for testing MYMETA.json") if $@;
+my $mymeta = CPAN::Meta->load_file('MYMETA.json');
+
+use Test::More;
+my (@requirements) = required_modules($mymeta);
+ok scalar(@requirements);
+done_testing();
+
+sub required_modules {
+ my $prereqs = $mymeta->effective_prereqs;
+ my $requires = $prereqs->merged_requirements;
+ return $requires->required_modules;
+}
+
+__END__
+use Test::Spec;
+describe 'MYMETA.json' => sub {
+ it 'lists prereqs' => sub {
+ my $mymeta = CPAN::Meta->load_file('MYMETA.json');
+ print STDERR Dumper($mymeta->effective_prereqs);
+
+
+
+ };
+};
+
+run_tests();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/t/runtests_subset.t new/Test-Spec-0.52/t/runtests_subset.t
--- old/Test-Spec-0.51/t/runtests_subset.t 2015-03-15 21:40:31.000000000 +0100
+++ new/Test-Spec-0.52/t/runtests_subset.t 2017-08-15 11:40:37.000000000 +0200
@@ -36,6 +36,20 @@
};
};
+ describe "when more than one specific example is requested explicitly" => sub {
+ my $tap;
+ before all => sub {
+ # case insensitivity is baked in
+ $tap = capture_tap("subset_spec.pl", "oNe", "Two");
+ };
+ it "should run the requested examples" => sub {
+ like $tap, qr/^ok \d+ - Test One.*ok \d+ - Test Two/ms;
+ };
+ it "should run ONLY the requested examples" => sub {
+ unlike $tap, qr/^ok \d+ - Test Three/;
+ };
+ };
+
describe "when specific examples are requested via SPEC environment var" => sub {
my $tap;
before all => sub {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-Spec-0.51/t/subset_spec.pl new/Test-Spec-0.52/t/subset_spec.pl
--- old/Test-Spec-0.51/t/subset_spec.pl 2015-03-15 21:40:31.000000000 +0100
+++ new/Test-Spec-0.52/t/subset_spec.pl 2017-08-15 11:40:37.000000000 +0200
@@ -14,6 +14,7 @@
describe "Test" => sub {
it "One" => sub { pass };
it "Two" => sub { pass };
+ it "Three" => sub { pass };
};
runtests(@ARGV) unless caller;
1
0
Hello community,
here is the log from the commit of package perl-JSON-XS for openSUSE:Factory checked in at 2017-09-04 12:36:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-JSON-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-JSON-XS.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-JSON-XS"
Mon Sep 4 12:36:33 2017 rev:20 rq:520423 version:3.04
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-JSON-XS/perl-JSON-XS.changes 2016-11-18 22:02:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-JSON-XS.new/perl-JSON-XS.changes 2017-09-04 12:36:37.676933521 +0200
@@ -1,0 +2,19 @@
+Fri Aug 18 05:38:04 UTC 2017 - coolo(a)suse.com
+
+- updated to 3.04
+ see /usr/share/doc/packages/perl-JSON-XS/Changes
+
+ TODO: move json_xs to types::serialiser
+
+ 3.04 Thu Aug 17 04:30:47 CEST 2017
+ - change exponential realloc algorithm on encoding and string decoding to be
+ really exponential (this helps slow/debugging allocators such as libumem)
+ (reported by Matthew Horsfall).
+ - string encoding would needlessly overallocate output space
+ (testcase by Matthew Horsfall).
+ - be very paranoid about extending buffer lengths and croak if buffers get too large,
+ which might (or might not) improve security.
+ - add cbor-packed type to json_xs.
+ - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
+
+-------------------------------------------------------------------
Old:
----
JSON-XS-3.03.tar.gz
New:
----
JSON-XS-3.04.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-JSON-XS.spec ++++++
--- /var/tmp/diff_new_pack.WiLovY/_old 2017-09-04 12:36:39.140727578 +0200
+++ /var/tmp/diff_new_pack.WiLovY/_new 2017-09-04 12:36:39.152725890 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-XS
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-JSON-XS
-Version: 3.03
+Version: 3.04
Release: 0
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_name JSON-XS
@@ -25,7 +25,7 @@
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/JSON-XS/
-Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
+Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.…
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -47,7 +47,7 @@
overridden) with no overhead due to emulation (by inheriting constructor
and methods). If JSON::XS is not available, it will fall back to the
compatible JSON::PP module as backend, so using JSON instead of JSON::XS
-gives you a portable JSON API that can be fast when you need and doesn't
+gives you a portable JSON API that can be fast when you need it and doesn't
require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason to
@@ -77,6 +77,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes COPYING README
+%doc Changes README
+%license COPYING
%changelog
++++++ JSON-XS-3.03.tar.gz -> JSON-XS-3.04.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/Changes new/JSON-XS-3.04/Changes
--- old/JSON-XS-3.03/Changes 2016-11-16 20:21:23.000000000 +0100
+++ new/JSON-XS-3.04/Changes 2017-08-17 04:31:27.000000000 +0200
@@ -7,6 +7,18 @@
TODO: investigate magic (Eric Brine)
TODO: rfc7464
TODO: Victor Efimov
+TODO: move json_xs to types::serialiser
+
+3.04 Thu Aug 17 04:30:47 CEST 2017
+ - change exponential realloc algorithm on encoding and string decoding to be
+ really exponential (this helps slow/debugging allocators such as libumem)
+ (reported by Matthew Horsfall).
+ - string encoding would needlessly overallocate output space
+ (testcase by Matthew Horsfall).
+ - be very paranoid about extending buffer lengths and croak if buffers get too large,
+ which might (or might not) improve security.
+ - add cbor-packed type to json_xs.
+ - switch from YAML to YAML::XS in json_xs, as YAML is way too buggy and outdated.
3.03 Wed Nov 16 20:20:59 CET 2016
- fix a bug introduced by a perl bug workaround that would cause
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/META.json new/JSON-XS-3.04/META.json
--- old/JSON-XS-3.03/META.json 2016-11-16 20:21:42.000000000 +0100
+++ new/JSON-XS-3.04/META.json 2017-08-17 05:47:47.000000000 +0200
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010",
"license" : [
"unknown"
],
@@ -39,5 +39,6 @@
}
},
"release_status" : "stable",
- "version" : 3.03
+ "version" : 3.04,
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/META.yml new/JSON-XS-3.04/META.yml
--- old/JSON-XS-3.03/META.yml 2016-11-16 20:21:42.000000000 +0100
+++ new/JSON-XS-3.04/META.yml 2017-08-17 05:47:47.000000000 +0200
@@ -8,7 +8,7 @@
Canary::Stability: '0'
ExtUtils::MakeMaker: '6.52'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version 2.150010'
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,4 +21,5 @@
requires:
Types::Serialiser: '0'
common::sense: '0'
-version: 3.03
+version: 3.04
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/README new/JSON-XS-3.04/README
--- old/JSON-XS-3.03/README 2016-11-16 20:21:43.000000000 +0100
+++ new/JSON-XS-3.04/README 2017-08-17 05:47:47.000000000 +0200
@@ -38,7 +38,7 @@
constructor and methods). If JSON::XS is not available, it will fall
back to the compatible JSON::PP module as backend, so using JSON instead
of JSON::XS gives you a portable JSON API that can be fast when you need
- and doesn't require a C compiler when that is a problem.
+ it and doesn't require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason
to write yet another JSON module? While it seems there are many JSON
@@ -1565,13 +1565,11 @@
cannot handle non-reference values, in preparation for the day when the
default will change.
-THREADS
- This module is *not* guaranteed to be thread safe and there are no plans
- to change this until Perl gets thread support (as opposed to the
- horribly slow so-called "threads" which are simply slow and bloated
- process simulations - use fork, it's *much* faster, cheaper, better).
-
- (It might actually work, but you have been warned).
+(I-)THREADS
+ This module is *not* guaranteed to be ithread (or MULTIPLICITY-) safe
+ and there are no plans to change this. Note that perl's builtin
+ so-called theeads/ithreads are officially deprecated and should not be
+ used.
THE PERILS OF SETLOCALE
Sometimes people avoid the Perl locale support and directly call the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/XS.pm new/JSON-XS-3.04/XS.pm
--- old/JSON-XS-3.03/XS.pm 2016-11-16 20:21:40.000000000 +0100
+++ new/JSON-XS-3.04/XS.pm 2017-08-17 04:31:35.000000000 +0200
@@ -42,8 +42,8 @@
overridden) with no overhead due to emulation (by inheriting constructor
and methods). If JSON::XS is not available, it will fall back to the
compatible JSON::PP module as backend, so using JSON instead of JSON::XS
-gives you a portable JSON API that can be fast when you need and doesn't
-require a C compiler when that is a problem.
+gives you a portable JSON API that can be fast when you need it and
+doesn't require a C compiler when that is a problem.
As this is the n-th-something JSON module on CPAN, what was the reason
to write yet another JSON module? While it seems there are many JSON
@@ -103,7 +103,7 @@
use common::sense;
-our $VERSION = 3.03;
+our $VERSION = 3.04;
our @ISA = qw(Exporter);
our @EXPORT = qw(encode_json decode_json);
@@ -1698,14 +1698,11 @@
will change.
-=head1 THREADS
+=head1 (I-)THREADS
-This module is I<not> guaranteed to be thread safe and there are no
-plans to change this until Perl gets thread support (as opposed to the
-horribly slow so-called "threads" which are simply slow and bloated
-process simulations - use fork, it's I<much> faster, cheaper, better).
-
-(It might actually work, but you have been warned).
+This module is I<not> guaranteed to be ithread (or MULTIPLICITY-) safe
+and there are no plans to change this. Note that perl's builtin so-called
+theeads/ithreads are officially deprecated and should not be used.
=head1 THE PERILS OF SETLOCALE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/XS.xs new/JSON-XS-3.04/XS.xs
--- old/JSON-XS-3.03/XS.xs 2016-11-16 20:16:28.000000000 +0100
+++ new/JSON-XS-3.04/XS.xs 2017-08-17 03:54:33.000000000 +0200
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <limits.h>
#include <float.h>
+#include <inttypes.h>
#if defined(__BORLANDC__) || defined(_MSC_VER)
# define snprintf _snprintf // C compilers have this in stdio.h
@@ -156,6 +157,31 @@
}
}
+/* adds two STRLENs together, slow, and with paranoia */
+STRLEN
+strlen_sum (STRLEN l1, STRLEN l2)
+{
+ size_t sum = l1 + l2;
+
+ if (sum < (size_t)l2 || sum != (size_t)(STRLEN)sum)
+ croak ("JSON::XS: string size overflow");
+
+ return sum;
+}
+
+/* similar to SvGROW, but somewhat safer and guarantees exponential realloc strategy */
+static char *
+json_sv_grow (SV *sv, size_t len1, size_t len2)
+{
+ len1 = strlen_sum (len1, len2);
+ len1 = strlen_sum (len1, len1 >> 1);
+
+ if (len1 > 4096 - 24)
+ len1 = (len1 | 4095) - 24;
+
+ return SvGROW (sv, len1);
+}
+
// decode an utf-8 character and return it, or (UV)-1 in
// case of an error.
// we special-case "safe" characters from U+80 .. U+7FF,
@@ -363,12 +389,12 @@
INLINE void
need (enc_t *enc, STRLEN len)
{
- if (expect_false (enc->cur + len >= enc->end))
+ if (expect_false ((uintptr_t)(enc->end - enc->cur) < len))
{
STRLEN cur = enc->cur - (char *)SvPVX (enc->sv);
- SvGROW (enc->sv, cur + (len < (cur >> 2) ? cur >> 2 : len) + 1);
- enc->cur = SvPVX (enc->sv) + cur;
- enc->end = SvPVX (enc->sv) + SvLEN (enc->sv) - 1;
+ char *buf = json_sv_grow (enc->sv, cur, len);
+ enc->cur = buf + cur;
+ enc->end = buf + SvLEN (enc->sv) - 1;
}
}
@@ -394,13 +420,13 @@
{
if (expect_false (ch == '"')) // but with slow exceptions
{
- need (enc, len += 1);
+ need (enc, len + 1);
*enc->cur++ = '\\';
*enc->cur++ = '"';
}
else if (expect_false (ch == '\\'))
{
- need (enc, len += 1);
+ need (enc, len + 1);
*enc->cur++ = '\\';
*enc->cur++ = '\\';
}
@@ -413,11 +439,11 @@
{
switch (ch)
{
- case '\010': need (enc, len += 1); *enc->cur++ = '\\'; *enc->cur++ = 'b'; ++str; break;
- case '\011': need (enc, len += 1); *enc->cur++ = '\\'; *enc->cur++ = 't'; ++str; break;
- case '\012': need (enc, len += 1); *enc->cur++ = '\\'; *enc->cur++ = 'n'; ++str; break;
- case '\014': need (enc, len += 1); *enc->cur++ = '\\'; *enc->cur++ = 'f'; ++str; break;
- case '\015': need (enc, len += 1); *enc->cur++ = '\\'; *enc->cur++ = 'r'; ++str; break;
+ case '\010': need (enc, len + 1); *enc->cur++ = '\\'; *enc->cur++ = 'b'; ++str; break;
+ case '\011': need (enc, len + 1); *enc->cur++ = '\\'; *enc->cur++ = 't'; ++str; break;
+ case '\012': need (enc, len + 1); *enc->cur++ = '\\'; *enc->cur++ = 'n'; ++str; break;
+ case '\014': need (enc, len + 1); *enc->cur++ = '\\'; *enc->cur++ = 'f'; ++str; break;
+ case '\015': need (enc, len + 1); *enc->cur++ = '\\'; *enc->cur++ = 'r'; ++str; break;
default:
{
@@ -443,7 +469,7 @@
if (uch >= 0x110000UL)
croak ("out of range codepoint (0x%lx) encountered, unrepresentable in JSON", (unsigned long)uch);
- need (enc, len += 11);
+ need (enc, len + 11);
sprintf (enc->cur, "\\u%04x\\u%04x",
(int)((uch - 0x10000) / 0x400 + 0xD800),
(int)((uch - 0x10000) % 0x400 + 0xDC00));
@@ -451,7 +477,7 @@
}
else
{
- need (enc, len += 5);
+ need (enc, len + 5);
*enc->cur++ = '\\';
*enc->cur++ = 'u';
*enc->cur++ = PL_hexdigit [ uch >> 12 ];
@@ -469,7 +495,7 @@
}
else if (is_utf8)
{
- need (enc, len += clen);
+ need (enc, len + clen);
do
{
*enc->cur++ = *str++;
@@ -478,7 +504,7 @@
}
else
{
- need (enc, len += UTF8_MAXBYTES - 1); // never more than 11 bytes needed
+ need (enc, len + UTF8_MAXBYTES - 1); // never more than 11 bytes needed
enc->cur = encode_utf8 (enc->cur, uch);
++str;
}
@@ -1169,8 +1195,8 @@
{
STRLEN cur = SvCUR (sv);
- if (SvLEN (sv) <= cur + len)
- SvGROW (sv, cur + (len < (cur >> 2) ? cur >> 2 : len) + 1);
+ if (SvLEN (sv) - cur <= len)
+ json_sv_grow (sv, cur, len);
memcpy (SvPVX (sv) + SvCUR (sv), buf, len);
SvCUR_set (sv, SvCUR (sv) + len);
@@ -2160,8 +2186,8 @@
const char *str = SvPV (jsonstr, len);
STRLEN cur = SvCUR (self->incr_text);
- if (SvLEN (self->incr_text) <= cur + len)
- SvGROW (self->incr_text, cur + (len < (cur >> 2) ? cur >> 2 : len) + 1);
+ if (SvLEN (self->incr_text) - cur <= len)
+ json_sv_grow (self->incr_text, cur, len);
Move (str, SvEND (self->incr_text), len, char);
SvCUR_set (self->incr_text, SvCUR (self->incr_text) + len);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/JSON-XS-3.03/bin/json_xs new/JSON-XS-3.04/bin/json_xs
--- old/JSON-XS-3.03/bin/json_xs 2016-09-23 09:44:48.000000000 +0200
+++ new/JSON-XS-3.04/bin/json_xs 2017-07-07 04:31:43.000000000 +0200
@@ -46,7 +46,7 @@
=item eval - evaluate the given code as (non-utf-8) Perl, basically the reverse of "-t dump"
-=item yaml - L<YAML> (avoid at all costs, requires the YAML module :)
+=item yaml - L<YAML> format (requires that module to be installed)
=item string - do not attempt to decode the file data
@@ -72,6 +72,8 @@
=item cbor - CBOR (RFC 7049, L<CBOR::XS>), a kind of binary JSON
+=item cbor-packed - CBOR using extensions to make it smaller
+
=item storable - a L<Storable> frozen value in network format
=item storable-file - a L<Storable> file in network format (Storable has two incompatible formats)
@@ -80,7 +82,7 @@
=item clzf - L<Compress::LZF> format
-=item yaml - L<YAML>
+=item yaml - L<YAML::XS> format
=item dump - L<Data::Dump>
@@ -182,7 +184,7 @@
"storable-file" => sub { open my $fh, "<", \$_; Storable::fd_retrieve $fh },
"bencode" => sub { require Convert::Bencode; Convert::Bencode::bdecode ($_) },
"clzf" => sub { require Compress::LZF; Compress::LZF::sthaw ($_) },
- "yaml" => sub { require YAML; YAML::Load ($_) },
+ "yaml" => sub { require YAML::XS; YAML::XS::Load ($_) },
"eval" => sub { my $v = eval "no strict; no warnings; no utf8;\n#line 1 \"input\"\n$_"; die "$@" if $@; $v },
);
@@ -197,11 +199,12 @@
"json-utf-32le" => sub { encode "utf-32le", JSON::XS->new->encode ($_) },
"json-utf-32be" => sub { encode "utf-32be", JSON::XS->new->encode ($_) },
"cbor" => sub { require CBOR::XS; CBOR::XS::encode_cbor ($_) },
+ "cbor-packed" => sub { require CBOR::XS; CBOR::XS->new->pack_strings->encode ($_) },
"storable" => sub { Storable::nfreeze $_ },
"storable-file" => sub { open my $fh, ">", \my $buf; Storable::nstore_fd $_, $fh; $buf },
"bencode" => sub { require Convert::Bencode; Convert::Bencode::bencode ($_) },
"clzf" => sub { require Compress::LZF; Compress::LZF::sfreeze_cr ($_) },
- "yaml" => sub { require YAML; YAML::Dump ($_) },
+ "yaml" => sub { require YAML::XS; YAML::XS::Dump ($_) },
"dumper" => sub {
require Data::Dumper;
#local $Data::Dumper::Purity = 1; # hopeless case
1
0
Hello community,
here is the log from the commit of package perl-Text-SpellChecker for openSUSE:Factory checked in at 2017-09-04 12:36:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-SpellChecker (Old)
and /work/SRC/openSUSE:Factory/.perl-Text-SpellChecker.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Text-SpellChecker"
Mon Sep 4 12:36:29 2017 rev:7 rq:520422 version:0.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-SpellChecker/perl-Text-SpellChecker.changes 2015-04-25 14:09:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Text-SpellChecker.new/perl-Text-SpellChecker.changes 2017-09-04 12:36:29.758047636 +0200
@@ -1,0 +2,5 @@
+Fri Aug 18 09:16:05 UTC 2017 - tchvatal(a)suse.com
+
+- Drop dependency over aspell wrt fate#323578
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Text-SpellChecker.spec ++++++
--- /var/tmp/diff_new_pack.xIR0tj/_old 2017-09-04 12:36:31.297831002 +0200
+++ /var/tmp/diff_new_pack.xIR0tj/_new 2017-09-04 12:36:31.325827064 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Text-SpellChecker
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX 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,23 +16,20 @@
#
+%define cpan_name Text-SpellChecker
Name: perl-Text-SpellChecker
Version: 0.14
Release: 0
-%define cpan_name Text-SpellChecker
Summary: OO interface for spell-checking a block of text
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-SpellChecker/
Source: http://www.cpan.org/authors/id/B/BD/BDUGGAN/%{cpan_name}-%{version}.tar.gz
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Text::Aspell)
BuildRequires: perl(Text::Hunspell)
-Requires: perl(Text::Aspell)
Requires: perl(Text::Hunspell)
+BuildArch: noarch
%{perl_requires}
%description
@@ -49,11 +46,11 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make %{?_smp_mflags} test
%install
%perl_make_install
@@ -61,7 +58,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
%changelog
1
0
Hello community,
here is the log from the commit of package heaptrack for openSUSE:Factory checked in at 2017-09-04 12:36:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heaptrack (Old)
and /work/SRC/openSUSE:Factory/.heaptrack.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "heaptrack"
Mon Sep 4 12:36:14 2017 rev:2 rq:520370 version:1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/heaptrack/heaptrack.changes 2017-05-03 15:55:39.985132463 +0200
+++ /work/SRC/openSUSE:Factory/.heaptrack.new/heaptrack.changes 2017-09-04 12:36:15.971987209 +0200
@@ -1,0 +2,6 @@
+Sat Sep 2 15:03:19 UTC 2017 - wbauer(a)tmo.at
+
+- Add fix-build.patch to fix build with glibc 2.26 in Factory
+ (kde#383889)
+
+-------------------------------------------------------------------
New:
----
fix-build.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ heaptrack.spec ++++++
--- /var/tmp/diff_new_pack.dJ1qEX/_old 2017-09-04 12:36:17.139822905 +0200
+++ /var/tmp/diff_new_pack.dJ1qEX/_new 2017-09-04 12:36:17.143822342 +0200
@@ -26,6 +26,8 @@
Group: Development/Tools/Other
Url: https://userbase.kde.org/Heaptrack
Source0: https://download.kde.org/stable/heaptrack/%{version}/src/%{name}-%{version}…
+# PATCH-FIX-UPSTREAM
+Patch: fix-build.patch
# Needs office-chart-area icon
BuildRequires: breeze5-icons
BuildRequires: extra-cmake-modules
@@ -63,6 +65,7 @@
%prep
%setup -q
+%patch -p1
# Disable building tests, they're not used and post-build-checks trips over it
sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt
++++++ fix-build.patch ++++++
>From f0a682550118b7019e74af71d9e8624902b8a984 Mon Sep 17 00:00:00 2001
From: Milian Wolff <milian.wolff(a)kdab.com>
Date: Thu, 31 Aug 2017 09:51:34 +0200
Subject: Use check_symbol_exists() to check if cfree() is available
Thanks to Daniel Vratil for the initial work.
heaptrack now compiles on Fedora rawhide and Arch Linux x86_64
with glibc 2.26 or newer.
Differential Revision: https://phabricator.kde.org/D7621
---
CMakeLists.txt | 5 +++++
src/track/heaptrack_inject.cpp | 7 +------
src/track/heaptrack_preload.cpp | 6 +-----
src/util/config.h.cmake | 4 ++++
tests/manual/CMakeLists.txt | 4 ++++
tests/manual/test.cpp | 6 ++++++
6 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0cdde70..7ff93df 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,6 +73,11 @@ if (NOT HAVE_LINUX_HEADERS)
message(FATAL_ERROR "You are missing some Linux headers required to compile heaptrack.")
endif()
+# cfree() does not exist in glibc 2.26+.
+# See: https://bugs.kde.org/show_bug.cgi?id=383889
+include(CheckSymbolExists)
+check_symbol_exists(cfree malloc.h HAVE_CFREE)
+
set(BIN_INSTALL_DIR "bin")
set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)")
set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}")
diff --git a/src/track/heaptrack_inject.cpp b/src/track/heaptrack_inject.cpp
index 93508e0..c24a266 100644
--- a/src/track/heaptrack_inject.cpp
+++ b/src/track/heaptrack_inject.cpp
@@ -18,6 +18,7 @@
*/
#include "libheaptrack.h"
+#include "util/config.h"
#include <cstdlib>
#include <cstring>
@@ -43,12 +44,6 @@
#error unsupported word size
#endif
-#if defined(_BSD_SOURCE) || defined(_SVID_SOURCE) || defined(__USE_MISC)
-#define HAVE_CFREE 1
-#else
-#define HAVE_CFREE 0
-#endif
-
namespace {
namespace Elf {
diff --git a/src/track/heaptrack_preload.cpp b/src/track/heaptrack_preload.cpp
index d8dde24..b77774a 100644
--- a/src/track/heaptrack_preload.cpp
+++ b/src/track/heaptrack_preload.cpp
@@ -18,6 +18,7 @@
*/
#include "libheaptrack.h"
+#include "util/config.h"
#include <cstdio>
#include <cstdlib>
@@ -30,7 +31,6 @@ using namespace std;
using namespace std;
#define HAVE_ALIGNED_ALLOC defined(_ISOC11_SOURCE)
-#define HAVE_CFREE (defined(_BSD_SOURCE) || defined(_SVID_SOURCE) || defined(__USE_MISC))
namespace {
diff --git a/src/util/config.h.cmake b/src/util/config.h.cmake
index 7bad362..861c1f7 100644
--- a/src/util/config.h.cmake
+++ b/src/util/config.h.cmake
@@ -30,4 +30,8 @@
#define HEAPTRACK_DEBUG_BUILD @HEAPTRACK_DEBUG_BUILD@
+// cfree() does not exist in glibc 2.26+.
+// See: https://bugs.kde.org/show_bug.cgi?id=383889
+#cmakedefine01 HAVE_CFREE
+
#endif // HEAPTRACK_CONFIG_H
diff --git a/tests/manual/CMakeLists.txt b/tests/manual/CMakeLists.txt
index fe9602b..8996201 100644
--- a/tests/manual/CMakeLists.txt
+++ b/tests/manual/CMakeLists.txt
@@ -2,6 +2,10 @@ set(CMAKE_BUILD_TYPE Debug)
add_executable(test_c test.c)
add_executable(test_cpp test.cpp)
+set_target_properties(test_cpp PROPERTIES
+ INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}/../../src/
+)
+
add_executable(threaded threaded.cpp)
target_link_libraries(threaded ${CMAKE_THREAD_LIBS_INIT})
diff --git a/tests/manual/test.cpp b/tests/manual/test.cpp
index a77dbd7..4c7b0d2 100644
--- a/tests/manual/test.cpp
+++ b/tests/manual/test.cpp
@@ -1,6 +1,8 @@
#include <cstdio>
#include <cstdlib>
+#include "util/config.h"
+
#define HAVE_ALIGNED_ALLOC defined(_ISOC11_SOURCE)
struct Foo
@@ -60,7 +62,11 @@ int main()
buf = calloc(5, 5);
printf("calloc: %p\n", buf);
+#if HAVE_CFREE
cfree(buf);
+#else
+ free(buf);
+#endif
#if HAVE_ALIGNED_ALLOC
buf = aligned_alloc(16, 160);
--
cgit v0.11.2
1
0
Hello community,
here is the log from the commit of package kawaii-player for openSUSE:Factory checked in at 2017-09-04 12:36:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kawaii-player (Old)
and /work/SRC/openSUSE:Factory/.kawaii-player.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kawaii-player"
Mon Sep 4 12:36:11 2017 rev:2 rq:520367 version:2.2.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/kawaii-player/kawaii-player.changes 2017-07-05 23:56:58.508600036 +0200
+++ /work/SRC/openSUSE:Factory/.kawaii-player.new/kawaii-player.changes 2017-09-04 12:36:13.828288807 +0200
@@ -1,0 +2,42 @@
+Sat Sep 2 17:27:35 UTC 2017 - aloisio(a)gmx.com
+
+- Fixed version number
+
+-------------------------------------------------------------------
+Thu Aug 31 14:44:15 UTC 2017 - aloisio(a)gmx.com
+
+- Update to version 2.2.0-1
+ * Improved video management functionalities.
+ * Allows creating new video categories
+ * Allows renaming of title and playlist entries
+ * Group rename of playlist entries
+ * Improved contextmenu with grouping of various categories
+ * Allows getting information for entire collection
+ * TMDB support added
+ * Supports both duckduckgo and google as search engine backend
+ for getting information from either TVDB or TMDB.
+ * Keyboard shortcuts have been changed
+ * Allows direct jump on title starting with letter when keyboard
+ button pertaining to that letter is pressed
+ * Firefox related bug fixed when loading subtitles
+ * New background image modes with shortcuts (ctrl+0 and ctrl+9)
+ added
+ * Some image resizing issues fixed with python-pillow
+ * Allows using the application as both server as well as client
+ * Added new MyServer addon for managing peer-to-peer mode.
+ * Servers can broadcast themselves in the local network so that
+ clients can discover it without having to remember local IP
+ address of each media server.
+ * Allows modifying broadcast message of server
+ * Users can manually set server's upload speed
+ * mpv now remembers last aspect ratio
+ * Better OSD display on changing aspect ratio
+ * Critical bug fixed in deleting bookmarked playlist
+ version 2.0.0-0:
+ * Various modules separated and major overhaul of large codebase
+ * Headless browser included
+ * Proper support added for qtwebkit along with qtwebengine as
+ backend for headless browser
+ * Multiple bug fixes
+
+-------------------------------------------------------------------
Old:
----
kawaii-player-1.4.0-0.tar.gz
New:
----
kawaii-player-2.2.0-1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kawaii-player.spec ++++++
--- /var/tmp/diff_new_pack.TqQjwD/_old 2017-09-04 12:36:15.108108748 +0200
+++ /var/tmp/diff_new_pack.TqQjwD/_new 2017-09-04 12:36:15.120107060 +0200
@@ -18,15 +18,17 @@
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
-%define _over 1.4.0-0
+%define _over 2.2.0-1
+%define _bver 2.2.0
Name: kawaii-player
-Version: 1.4.0
+Version: 2.2.0.1
Release: 0
Summary: Multimedia player, library manager and media server
License: GPL-3.0
Group: Productivity/Multimedia/Video/Players
Url: https://github.com/kanishka-linux/kawaii-player
Source0: https://github.com/kanishka-linux/kawaii-player/archive/v%{_over}.tar.gz#/%…
+BuildRequires: fdupes
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: ffmpegthumbnailer
@@ -62,6 +64,7 @@
mkdir -pv %{buildroot}/%{_datadir}/applications %{buildroot}/%{_datadir}/pixmaps
install -m 0644 ubuntu/%{name}.desktop %{buildroot}/%{_datadir}/applications/%{name}.desktop
install -m 0644 kawaii_player/tray.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png
+%fdupes -s %{buildroot}%{python3_sitelib}
%files
%defattr(-,root,root)
@@ -71,6 +74,6 @@
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{python3_sitelib}/kawaii_player
-%{python3_sitelib}/kawaii_player-%{version}-py%{py3_ver}.egg-info
+%{python3_sitelib}/kawaii_player-%{_bver}-py%{py3_ver}.egg-info
%changelog
++++++ kawaii-player-1.4.0-0.tar.gz -> kawaii-player-2.2.0-1.tar.gz ++++++
++++ 60497 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package xbsql for openSUSE:Factory checked in at 2017-09-04 12:36:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xbsql (Old)
and /work/SRC/openSUSE:Factory/.xbsql.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xbsql"
Mon Sep 4 12:36:06 2017 rev:22 rq:520352 version:0.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/xbsql/xbsql.changes 2015-04-23 08:04:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xbsql.new/xbsql.changes 2017-09-04 12:36:09.816853180 +0200
@@ -1,0 +2,6 @@
+Sat Sep 2 11:41:18 UTC 2017 - wbauer(a)tmo.at
+
+- Add xbase64.patch to fix build with latest xbase(64) 3.1.2 in
+ Factory
+
+-------------------------------------------------------------------
New:
----
xbase64.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xbsql.spec ++++++
--- /var/tmp/diff_new_pack.bjFhTk/_old 2017-09-04 12:36:10.704728264 +0200
+++ /var/tmp/diff_new_pack.bjFhTk/_new 2017-09-04 12:36:10.704728264 +0200
@@ -27,6 +27,8 @@
Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}.diff
Patch1: xbsql-0.11-bufferoverflowstrncat.patch
+# PATCH-FIX-OPENSUSE xbase64.patch -- fix build with latest xbase(64) 3.1.2 in Factory
+Patch2: xbase64.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@@ -70,6 +72,7 @@
%setup -q
%patch0
%patch1
+%patch2 -p1
%build
autoreconf -fi
++++++ xbase64.patch ++++++
diff -ur xbsql-0.11.orig/test/Makefile.am xbsql-0.11/test/Makefile.am
--- xbsql-0.11.orig/test/Makefile.am 2017-08-30 12:48:09.000000000 +0200
+++ xbsql-0.11/test/Makefile.am 2017-08-30 12:47:12.000000000 +0200
@@ -6,5 +6,5 @@
S003_multi_SOURCES = S003_multi.cpp
-S003_multi_LDFLAGS = -lxbase $(DEBUG) ../xbsql/libxbsql.la
+S003_multi_LDFLAGS = -lxbase64 $(DEBUG) ../xbsql/libxbsql.la
diff -ur xbsql-0.11.orig/xbsql/Makefile.am xbsql-0.11/xbsql/Makefile.am
--- xbsql-0.11.orig/xbsql/Makefile.am 2017-08-30 12:48:09.000000000 +0200
+++ xbsql-0.11/xbsql/Makefile.am 2017-08-30 12:47:34.000000000 +0200
@@ -16,10 +16,10 @@
xb_assignlist.cpp xb_create.cpp \
xbsql.tab.c xb_datetime.cpp
-libxbsql_la_LDFLAGS = -lxbase
+libxbsql_la_LDFLAGS = -lxbase64
xql_SOURCES = xql.cpp
-xql_LDADD = -lxbase -lreadline -l$(CURSES) ./libxbsql.la
+xql_LDADD = -lxbase64 -lreadline -l$(CURSES) ./libxbsql.la
#
#
diff -ur xbsql-0.11.orig/xbsql/xbsql.cpp xbsql-0.11/xbsql/xbsql.cpp
--- xbsql-0.11.orig/xbsql/xbsql.cpp 2017-08-30 12:48:09.000000000 +0200
+++ xbsql-0.11/xbsql/xbsql.cpp 2017-08-30 12:47:12.000000000 +0200
@@ -207,7 +207,7 @@
break ;
default :
- e = xbStrError (rc) ;
+ e = GetErrorMessage (rc) ;
break ;
}
@@ -230,7 +230,7 @@
char t[1024] ;
va_list aptr ;
- strcpy (t, xbStrError (rc)) ;
+ strcpy (t, GetErrorMessage (rc)) ;
strcat (t, ": ") ;
int l = strlen(t) ;
diff -ur xbsql-0.11.orig/xbsql/xbsql.h xbsql-0.11/xbsql/xbsql.h
--- xbsql-0.11.orig/xbsql/xbsql.h 2003-03-28 20:07:31.000000000 +0100
+++ xbsql-0.11/xbsql/xbsql.h 2017-08-30 12:47:12.000000000 +0200
@@ -43,8 +43,7 @@
#endif
-#include <xbase/xbase.h>
-#include <xbase/xbexcept.h>
+#include <xbase64/xbase64.h>
class XBaseSQL ;
class XBSQLTable ;
1
0
Hello community,
here is the log from the commit of package reiser4progs for openSUSE:Factory checked in at 2017-09-04 12:36:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/reiser4progs (Old)
and /work/SRC/openSUSE:Factory/.reiser4progs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "reiser4progs"
Mon Sep 4 12:36:01 2017 rev:7 rq:520347 version:1.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/reiser4progs/reiser4progs.changes 2015-09-08 18:11:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.reiser4progs.new/reiser4progs.changes 2017-09-04 12:36:06.505319083 +0200
@@ -1,0 +2,5 @@
+Sat Sep 2 11:15:46 UTC 2017 - jengelh(a)inai.de
+
+- Add no-static.diff.
+
+-------------------------------------------------------------------
New:
----
no-static.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ reiser4progs.spec ++++++
--- /var/tmp/diff_new_pack.3cmOja/_old 2017-09-04 12:36:07.789138461 +0200
+++ /var/tmp/diff_new_pack.3cmOja/_new 2017-09-04 12:36:07.813135085 +0200
@@ -1,7 +1,7 @@
#
# spec file for package reiser4progs
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,14 +26,14 @@
Url: http://sf.net/projects/reiser4/
Source: http://downloads.sf.net/reiser4/%name-%version.tar.gz
+Patch1: no-static.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: automake
BuildRequires: libaal-devel
+BuildRequires: libtool
BuildRequires: libuuid-devel
BuildRequires: readline-devel
BuildRequires: xz
-# There is a dull test which involes gcc -static
-BuildRequires: glibc-devel-static
-BuildRequires: libaal-devel-static
%description
A set of commands for using the Reiser4 file system, including
@@ -76,12 +76,14 @@
%prep
%setup -q
+%patch -P 1 -p1
%build
#
# Disabling hashes only affects minimal library. The options are
# a recommendation from reiser4progs's shipped .spec file.
#
+autoreconf -fi
%configure --disable-static --enable-libminimal --disable-fnv1-hash \
--disable-rupasov-hash --disable-tea-hash --disable-deg-hash
make %{?_smp_mflags}
++++++ no-static.diff ++++++
Date: 2017-09-02 13:14:23.021280169 +0200
From: Jan Engelhardt <jengelh(a)inai.de>
build: make the build work with just shared libs
---
configure.in | 6 ------
libreiser4/Makefile.am | 1 -
2 files changed, 7 deletions(-)
Index: reiser4progs-1.1.0/configure.in
===================================================================
--- reiser4progs-1.1.0.orig/configure.in
+++ reiser4progs-1.1.0/configure.in
@@ -70,9 +70,6 @@ libaal_config_minor_version=`echo $2 | \
libaal_config_micro_version=`echo $2 | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-OLD_CFLAGS=$CFLAGS
-CFLAGS="$CFLAGS -static"
-
# Compare MINIMUM-VERSION with libaal version
AC_TRY_RUN([
#include <stdio.h>
@@ -116,8 +113,6 @@ int main() {
AC_MSG_RESULT(no) ; $4,
[echo $ac_n "cross compiling; assumed OK... $ac_c"])
-CFLAGS=$OLD_CFLAGS
-
# Execute ACTION-IF-FOUND
$3])
@@ -126,7 +121,6 @@ AC_ARG_WITH(libaal,
)
LIBS=""
-CFLAGS="$CFLAGS"
if test x$with_libaal != x; then
LIBS="-L$with_libaal/lib"
Index: reiser4progs-1.1.0/libreiser4/Makefile.am
===================================================================
--- reiser4progs-1.1.0.orig/libreiser4/Makefile.am
+++ reiser4progs-1.1.0/libreiser4/Makefile.am
@@ -30,7 +30,6 @@ libreiser4_static_la_LIBADD = $(top_bui
libreiser4_static_la_SOURCES = $(libreiser4_sources)
libreiser4_static_la_CFLAGS = @GENERIC_CFLAGS@
-libreiser4_static_la_LDFLAGS = -static
if ENABLE_MINIMAL
libreiser4_minimal_la_LIBADD = $(top_builddir)/libaux/libaux-minimal.la \
1
0
Hello community,
here is the log from the commit of package libaal for openSUSE:Factory checked in at 2017-09-04 12:35:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libaal (Old)
and /work/SRC/openSUSE:Factory/.libaal.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libaal"
Mon Sep 4 12:35:54 2017 rev:6 rq:520346 version:1.0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/libaal/libaal.changes 2014-09-12 15:25:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libaal.new/libaal.changes 2017-09-04 12:36:01.825977323 +0200
@@ -1,0 +2,7 @@
+Sat Sep 2 11:05:17 UTC 2017 - jengelh(a)inai.de
+
+- Add no-nonsense.diff to resolve build failure with glibc.
+- Redo libaal-1.0.5-rpmoptflags.patch with p1.
+- Drop static library subpackage.
+
+-------------------------------------------------------------------
New:
----
no-nonsense.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libaal.spec ++++++
--- /var/tmp/diff_new_pack.GJqeQC/_old 2017-09-04 12:36:05.401474383 +0200
+++ /var/tmp/diff_new_pack.GJqeQC/_new 2017-09-04 12:36:05.409473258 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libaal
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
Source: http://downloads.sf.net/reiser4/libaal-%version.tar.gz
Patch1: libaal-1.0.5-rpmoptflags.patch
+Patch2: no-nonsense.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake
@@ -60,25 +61,13 @@
%description devel
libaal includes device abstraction, libc independence code, and more.
-%package devel-static
-Summary: Static libraries for libaal development
-License: GPL-2.0
-Group: Development/Libraries/C and C++
-Requires: %name-devel = %version
-
-%description devel-static
-libaal includes device abstraction, libc independence code, and more.
-
-This subpackage contains the static versions of the libraries, for
-use with programs that require them.
-
%prep
%setup -q
-%patch -P 1 -p0
+%patch -P 1 -P 2 -p1
%build
autoreconf -fi
-%configure --enable-static --with-pic
+%configure --disable-static
make %{?_smp_mflags}
%install
@@ -106,8 +95,4 @@
%_includedir/aal
%_datadir/aclocal
-%files devel-static
-%defattr(-,root,root)
-%_libdir/libaal*.a
-
%changelog
++++++ libaal-1.0.5-rpmoptflags.patch ++++++
--- /var/tmp/diff_new_pack.GJqeQC/_old 2017-09-04 12:36:05.509459191 +0200
+++ /var/tmp/diff_new_pack.GJqeQC/_new 2017-09-04 12:36:05.521457503 +0200
@@ -1,6 +1,12 @@
---- configure.in
-+++ configure.in
-@@ -126,7 +126,7 @@
+---
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: libaal-1.0.6/configure.in
+===================================================================
+--- libaal-1.0.6.orig/configure.in
++++ libaal-1.0.6/configure.in
+@@ -126,7 +126,7 @@ else
ALIGN_FLAGS="-malign-jumps=1 -malign-loops=1 -malign-functions=1"
fi
++++++ no-nonsense.diff ++++++
Date: 2017-09-02 13:03:15.353403096 +0200
From: Jan Engelhardt <jengelh(a)inai.de>
Stop redefining libc definitions that cause build failures under glibc-2.26.
[ 46s] In file included from /usr/include/sys/types.h:156:0,
[ 46s] from /usr/include/stdlib.h:279,
[ 46s] from malloc.c:15:
[ 46s] /usr/include/bits/stdint-intn.h:27:19: error: conflicting types for 'int64_t'
[ 46s] typedef __int64_t int64_t;
[ 46s] ^~~~~~~
[ 46s] In file included from ../include/aal/libaal.h:17:0,
[ 46s] from malloc.c:6:
[ 46s] ../include/aal/types.h:35:33: note: previous declaration of 'int64_t' was here
[ 46s] typedef long long int int64_t;
---
include/aal/types.h | 48 ++----------------------------------------------
1 file changed, 2 insertions(+), 46 deletions(-)
Index: libaal-1.0.6/include/aal/types.h
===================================================================
--- libaal-1.0.6.orig/include/aal/types.h
+++ libaal-1.0.6/include/aal/types.h
@@ -26,24 +26,7 @@
#undef ESTRUCT
#define ESTRUCT 50
-#ifndef __int8_t_defined
-#define __int8_t_defined
-typedef signed char int8_t;
-typedef short int int16_t;
-typedef int int32_t;
-__extension__
-typedef long long int int64_t;
-#endif
-
-typedef unsigned char uint8_t;
-typedef unsigned short int uint16_t;
-#ifndef __uint32_t_defined
-#define __uint32_t_defined
-typedef unsigned int uint32_t;
-__extension__
-typedef unsigned long long int uint64_t;
-#endif
-
+#include <stdint.h>
#define MAX_UINT8 ((uint8_t)~0)
#define MAX_UINT16 ((uint16_t)~0)
#define MAX_UINT32 ((uint32_t)~0)
@@ -53,36 +36,9 @@ typedef unsigned long long int uint64_t
because we don't want use gcc builtins in minimal mode for achive as small
binary size as possible. */
-#ifndef ENABLE_MINIMAL
# include <stdarg.h>
-#else
-#ifndef _VA_LIST_
-#define _VA_LIST_
-typedef char *va_list;
-#endif
-#undef va_arg
-#undef va_end
-#undef va_start
-
-#define va_end(ap) \
- do {} while(0);
-
-#define va_start(ap, p) \
- (ap = (char *)(&(p)+1))
-
-#define va_arg(ap, type) \
- ((type *)(ap += sizeof(type)))[-1]
-#endif
-
-/* As libaal may be used without any standard headers, we need to declare NULL
- macro here in order to avoid compilation errors. */
-#undef NULL
-#if defined(__cplusplus)
-# define NULL 0
-#else
-# define NULL ((void *)0)
-#endif
+#include <stdio.h>
/* Simple type for direction denoting */
enum aal_dir {
1
0