Hello community, here is the log from the commit of package perl-YAML-Syck for openSUSE:Factory checked in at 2017-04-28 09:11:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-YAML-Syck (Old) and /work/SRC/openSUSE:Factory/.perl-YAML-Syck.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-YAML-Syck" Fri Apr 28 09:11:13 2017 rev:30 rq:489833 version:1.30 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-YAML-Syck/perl-YAML-Syck.changes 2015-04-25 21:15:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-YAML-Syck.new/perl-YAML-Syck.changes 2017-04-28 09:11:16.327267919 +0200 @@ -1,0 +2,6 @@ +Fri Apr 21 07:08:50 UTC 2017 - [email protected] + +- updated to 1.30 + see /usr/share/doc/packages/perl-YAML-Syck/Changes + +------------------------------------------------------------------- Old: ---- YAML-Syck-1.29.tar.gz New: ---- YAML-Syck-1.30.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-YAML-Syck.spec ++++++ --- /var/tmp/diff_new_pack.RXqXae/_old 2017-04-28 09:11:17.111157383 +0200 +++ /var/tmp/diff_new_pack.RXqXae/_new 2017-04-28 09:11:17.111157383 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-YAML-Syck # -# 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,15 @@ Name: perl-YAML-Syck -Version: 1.29 +Version: 1.30 Release: 0 %define cpan_name YAML-Syck Summary: Fast, lightweight YAML loader and dumper License: MIT Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/YAML-Syck/ -Source: http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -42,7 +43,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 OPTIMIZE="%{optflags}" @@ -58,6 +59,7 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes COMPATIBILITY COPYING README +%doc Changes COMPATIBILITY +%license COPYING %changelog ++++++ YAML-Syck-1.29.tar.gz -> YAML-Syck-1.30.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/Changes new/YAML-Syck-1.30/Changes --- old/YAML-Syck-1.29/Changes 2014-12-15 16:55:05.000000000 +0100 +++ new/YAML-Syck-1.30/Changes 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,10 @@ -[Changes for 1.29 - 2014-12-15] -* Bump to 1.29 with no changes after CPAN Testers looks good. +[Changes for 1.29_02 - 2016-03-03] + +* Fix handling carriage return after c-indicator RT 41141 +* Fix CHECK_UTF8 SEGV with empty len=0 strings RT 61562 +* Add missing function declarations +* Tighten the TODO tests, no passing TODOs now. But still JSON + SingleQuote and \/ and \u roundtrips do fail. [Changes for 1.29_01 - 2014-12-14] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/META.yml new/YAML-Syck-1.30/META.yml --- old/YAML-Syck-1.29/META.yml 2014-12-15 16:52:59.000000000 +0100 +++ new/YAML-Syck-1.30/META.yml 2017-04-20 07:01:42.000000000 +0200 @@ -25,4 +25,4 @@ homepage: http://search.cpan.org/dist/YAML-Syck license: http://opensource.org/licenses/mit-license.php repository: http://github.com/toddr/YAML-Syck -version: '1.29' +version: '1.30' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/README new/YAML-Syck-1.30/README --- old/YAML-Syck-1.29/README 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,167 +0,0 @@ -NAME - YAML::Syck - Fast, lightweight YAML loader and dumper - -SYNOPSIS - use YAML::Syck; - - # Set this for interoperability with other YAML/Syck bindings: - # e.g. Load('Yes') becomes 1 and Load('No') becomes ''. - $YAML::Syck::ImplicitTyping = 1; - - $data = Load($yaml); - $yaml = Dump($data); - - # $file can be an IO object, or a filename - $data = LoadFile($file); - DumpFile($file, $data); - - # A string with multiple YAML streams in it - $yaml = Dump(@data); - @data = Load($yaml); - - # Dumping into a pre-existing output buffer - my $yaml; - DumpInto(\$yaml, @data); - -DESCRIPTION - This module provides a Perl interface to the libsyck data serialization - library. It exports the "Dump" and "Load" functions for converting Perl - data structures to YAML strings, and the other way around. - - NOTE: If you are working with other language's YAML/Syck bindings (such - as Ruby), please set $YAML::Syck::ImplicitTyping to 1 before calling the - "Load"/"Dump" functions. The default setting is for preserving - backward-compatibility with "YAML.pm". - -Differences Between YAML::Syck and YAML - Error handling - Some calls are designed to die rather than returning YAML. You should - wrap your calls in eval to assure you do not get unexpected results. - -FLAGS - $YAML::Syck::Headless - Defaults to false. Setting this to a true value will make "Dump" omit - the leading "---\n" marker. - - $YAML::Syck::SortKeys - Defaults to false. Setting this to a true value will make "Dump" sort - hash keys. - - $YAML::Syck::SingleQuote - Defaults to false. Setting this to a true value will make "Dump" always - emit single quotes instead of bare strings. - - $YAML::Syck::ImplicitTyping - Defaults to false. Setting this to a true value will make "Load" - recognize various implicit types in YAML, such as unquoted "true", - "false", as well as integers and floating-point numbers. Otherwise, only - "~" is recognized to be "undef". - - $YAML::Syck::ImplicitUnicode - Defaults to false. For Perl 5.8.0 or later, setting this to a true value - will make "Load" set Unicode flag on for every string that contains - valid UTF8 sequences, and make "Dump" return a unicode string. - - Regardless of this flag, Unicode strings are dumped verbatim without - escaping; byte strings with high-bit set will be dumped with backslash - escaping. - - However, because YAML does not distinguish between these two kinds of - strings, so this flag will affect loading of both variants of strings. - - If you want to use LoadFile or DumpFile with unicode, you are required - to open your own file in order to assure it's UTF8 encoded: - - open(my $fh, ">:encoding(UTF-8)", "out.yml"); - DumpFile($fh, $hashref); - - $YAML::Syck::ImplicitBinary - Defaults to false. For Perl 5.8.0 or later, setting this to a true value - will make "Dump" generate Base64-encoded "!!binary" data for all - non-Unicode scalars containing high-bit bytes. - - $YAML::Syck::UseCode / $YAML::Syck::LoadCode / $YAML::Syck::DumpCode - These flags control whether or not to try and eval/deparse perl source - code; each of them defaults to false. - - Setting $YAML::Syck::UseCode to a true value is equivalent to setting - both $YAML::Syck::LoadCode and $YAML::Syck::DumpCode to true. - - $YAML::Syck::LoadBlessed - Defaults to true. Setting to false will block YAML::Syck from doing ANY - blessing. This is an interface change since 1.21. The variable name was - misleading, implying that no blessing would happen when in fact it did. - - Prior to 1.22, setting this to a false value only prevented "Load" from - blessing tag names that did not begin with "!!perl" or "!perl";. - -BUGS - Dumping Glob/IO values do not work yet. - - Dumping of Tied variables is unsupported. - - Dumping into tied (or other magic variables) with "DumpInto" might not - work properly in all cases. - -CAVEATS - This module implements the YAML 1.0 spec. To deal with data in YAML 1.1, - please use the "YAML::XS" module instead. - - The current implementation bundles libsyck source code; if your system - has a site-wide shared libsyck, it will *not* be used. - - Tag names such as "!!perl/hash:Foo" is blessed into the package "Foo", - but the "!hs/foo" and "!!hs/Foo" tags are blessed into "hs::Foo". Note - that this holds true even if the tag contains non-word characters; for - example, "!haskell.org/Foo" is blessed into "haskell.org::Foo". Please - use Class::Rebless to cast it into other user-defined packages. You can - also set the LoadBlessed flag false to disable all blessing. - - This module has a lot of known issues - <https://rt.cpan.org/Public/Dist/Display.html?Name=YAML-Syck> and has - only been semi-actively maintained since 2007. If you encounter an issue - with it probably won't be fixed unless you offer up a patch - <http://github.com/toddr/YAML-Syck> in Git that's ready for release. - - There are still good reasons to use this module, such as better - interoperability with other syck wrappers (like Ruby's), or some edge - case of YAML's syntax that it handles better. It'll probably work - perfectly for you, but if it doesn't you may want to look at YAML::XS, - or perhaps at looking another serialization format like JSON. - -SEE ALSO - YAML, JSON::Syck - - <http://www.yaml.org/> - -AUTHORS - Audrey Tang <[email protected]> - -COPYRIGHT - Copyright 2005-2009 by Audrey Tang <[email protected]>. - - This software is released under the MIT license cited below. - - The libsyck code bundled with this library is released by "why the lucky - stiff", under a BSD-style license. See the COPYING file for details. - - The "MIT" License - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the - "Software"), to deal in the Software without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of the Software, and to - permit persons to whom the Software is furnished to do so, subject to - the following conditions: - - The above copyright notice and this permission notice shall be included - in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS - OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/emitter.c new/YAML-Syck-1.30/emitter.c --- old/YAML-Syck-1.29/emitter.c 2014-12-15 16:52:09.000000000 +0100 +++ new/YAML-Syck-1.30/emitter.c 2017-04-20 07:00:52.000000000 +0200 @@ -571,7 +571,7 @@ } if ( ( cursor[0] == '-' || cursor[0] == ':' || cursor[0] == '?' || cursor[0] == ',' ) && - ( cursor[1] == ' ' || cursor[1] == '\n' || len == 1 ) ) + ( cursor[1] == ' ' || cursor[1] == '\n' || cursor[1] == '\r' || len == 1 ) ) { flags |= SCAN_INDIC_S; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/gram.c new/YAML-Syck-1.30/gram.c --- old/YAML-Syck-1.29/gram.c 2012-11-28 01:18:23.000000000 +0100 +++ new/YAML-Syck-1.30/gram.c 2017-04-20 07:00:52.000000000 +0200 @@ -90,8 +90,6 @@ #define YAML_IEND 269 - - /* Copy the first part of user declarations. */ #line 14 "gram.y" @@ -135,6 +133,7 @@ SyckNode *nodeData; char *name; } YYSTYPE; + /* Line 191 of yacc.c. */ #line 140 "gram.c" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -142,6 +141,7 @@ # define YYSTYPE_IS_TRIVIAL 1 #endif +int sycklex( YYSTYPE *sycklval, SyckParser *parser ); /* Copy the second part of user declarations. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/gram.h new/YAML-Syck-1.30/gram.h --- old/YAML-Syck-1.29/gram.h 2012-11-28 01:18:23.000000000 +0100 +++ new/YAML-Syck-1.30/gram.h 2017-04-20 07:00:52.000000000 +0200 @@ -56,9 +56,6 @@ #define YAML_INDENT 268 #define YAML_IEND 269 - - - #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) #line 35 "gram.y" typedef union YYSTYPE { @@ -73,6 +70,8 @@ # define YYSTYPE_IS_TRIVIAL 1 #endif +int sycklex( YYSTYPE *sycklval, SyckParser *parser ); + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/lib/JSON/Syck.pm new/YAML-Syck-1.30/lib/JSON/Syck.pm --- old/YAML-Syck-1.29/lib/JSON/Syck.pm 2014-12-15 16:52:59.000000000 +0100 +++ new/YAML-Syck-1.30/lib/JSON/Syck.pm 2017-04-20 07:02:01.000000000 +0200 @@ -5,7 +5,7 @@ use YAML::Syck (); BEGIN { - $VERSION = '1.29'; + $VERSION = '1.30'; @EXPORT_OK = qw( Load Dump LoadFile DumpFile DumpInto ); @ISA = 'Exporter'; *Load = \&YAML::Syck::LoadJSON; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/lib/YAML/Syck.pm new/YAML-Syck-1.30/lib/YAML/Syck.pm --- old/YAML-Syck-1.29/lib/YAML/Syck.pm 2014-12-15 16:52:59.000000000 +0100 +++ new/YAML-Syck-1.30/lib/YAML/Syck.pm 2017-04-20 07:01:52.000000000 +0200 @@ -14,7 +14,7 @@ use Exporter; BEGIN { - $VERSION = '1.29'; + $VERSION = '1.30'; @EXPORT = qw( Dump Load DumpFile LoadFile ); @EXPORT_OK = qw( DumpInto ); @ISA = qw( Exporter ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/perl_common.h new/YAML-Syck-1.30/perl_common.h --- old/YAML-Syck-1.29/perl_common.h 2012-11-28 01:18:23.000000000 +0100 +++ new/YAML-Syck-1.30/perl_common.h 2017-04-20 07:00:52.000000000 +0200 @@ -60,6 +60,7 @@ #ifdef SvUTF8_on #define CHECK_UTF8 \ if (((struct parser_xtra *)p->bonus)->implicit_unicode \ + && n->data.str->len \ && is_utf8_string((U8*)n->data.str->ptr, n->data.str->len)) \ SvUTF8_on(sv); #else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/syck.h new/YAML-Syck-1.30/syck.h --- old/YAML-Syck-1.29/syck.h 2014-12-15 16:52:09.000000000 +0100 +++ new/YAML-Syck-1.30/syck.h 2017-04-20 07:00:52.000000000 +0200 @@ -392,6 +392,7 @@ * API prototypes */ char *syck_strndup( char *, long ); +int syck_str_is_unquotable_integer(char*, long); long syck_io_file_read( char *, SyckIoFile *, long, long ); long syck_io_str_read( char *, SyckIoStr *, long, long ); char *syck_base64enc( char *, long ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/11-loadfile.t new/YAML-Syck-1.30/t/11-loadfile.t --- old/YAML-Syck-1.29/t/11-loadfile.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/11-loadfile.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,11 +1,13 @@ -use t::TestYAML; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML; use Test::More; -use FindBin '$RealBin'; -chdir $RealBin; +chdir $FindBin::RealBin; -unless ( -w $RealBin ) { - plan skip_all => "Can't write to $RealBin"; +unless ( -w $FindBin::RealBin ) { + plan skip_all => "Can't write to $FindBin::RealBin"; exit; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/12-dumpfile.t new/YAML-Syck-1.30/t/12-dumpfile.t --- old/YAML-Syck-1.29/t/12-dumpfile.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/12-dumpfile.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,11 +1,13 @@ -use t::TestYAML; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML; use Test::More; -use FindBin '$RealBin'; -chdir $RealBin; +chdir $FindBin::RealBin; -unless ( -w $RealBin ) { - plan skip_all => "Can't write to $RealBin"; +unless ( -w $FindBin::RealBin ) { + plan skip_all => "Can't write to $FindBin::RealBin"; exit; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/2-scalars.t new/YAML-Syck-1.30/t/2-scalars.t --- old/YAML-Syck-1.29/t/2-scalars.t 2014-12-15 16:52:09.000000000 +0100 +++ new/YAML-Syck-1.30/t/2-scalars.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,4 +1,7 @@ -use t::TestYAML tests => 134; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML tests => 134; ok( YAML::Syck->VERSION, "YAML::Syck has a version and is loaded" ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/3-objects.t new/YAML-Syck-1.30/t/3-objects.t --- old/YAML-Syck-1.29/t/3-objects.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/3-objects.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,4 +1,7 @@ -use t::TestYAML tests => 51, +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML tests => 51, ( ( $] < 5.008 ) ? ( todo => [ 19 .. 20, 26 .. 29 ] ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/4-perl_tag_scheme.t new/YAML-Syck-1.30/t/4-perl_tag_scheme.t --- old/YAML-Syck-1.29/t/4-perl_tag_scheme.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/4-perl_tag_scheme.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,4 +1,7 @@ -use t::TestYAML tests => 18; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML tests => 18; ok( YAML::Syck->VERSION ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/TestYAML.pm new/YAML-Syck-1.30/t/TestYAML.pm --- old/YAML-Syck-1.29/t/TestYAML.pm 2014-12-15 16:52:09.000000000 +0100 +++ new/YAML-Syck-1.30/t/TestYAML.pm 2017-04-20 07:00:52.000000000 +0200 @@ -1,4 +1,4 @@ -package t::TestYAML; +package TestYAML; BEGIN { $ENV{PERL_DL_NONLAZY} = 0 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-basic.t new/YAML-Syck-1.30/t/json-basic.t --- old/YAML-Syck-1.29/t/json-basic.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-basic.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Data::Dumper; use Test::More; use JSON::Syck; @@ -42,14 +45,14 @@ '{"foo":""}', '["\"://\""]', '"~foo"', - { TEST => '"\/"', TODO => "backslashed char not working yet" }, # escaped solidus + { TEST => '"\/"', TODO => "backslashed char not working yet" }, # escaped solidus '"\""', { TEST => '"\b"', TODO => "backslashed char not working yet" }, { TEST => '"\f"', TODO => "backslashed char not working yet" }, { TEST => '"\n"', TODO => "backslashed char not working yet" }, { TEST => '"\r"', TODO => "backslashed char not working yet" }, - { TEST => '"\t"', TODO => "backslashed char not working yet" }, - { TEST => '"\u0001"', TODO => "backslashed char not working yet" }, + { TEST => '"\t"', TODO => "backslashed \\t not working yet" }, + { TEST => '"\u0001"', TODO => "backslashed \\u not working yet" }, ); plan tests => scalar @tests * ( 2 + $HAS_JSON ) * 2; @@ -64,7 +67,9 @@ local $TODO; if ( ref $test eq 'HASH' ) { - $TODO = $test->{TODO}; + if ($single_quote or substr($test->{TEST},2,1) =~ m|[u/]|) { + $TODO = $test->{TODO}; + } $test = $test->{TEST}; } @@ -84,7 +89,8 @@ s/([,:]) /$1/eg; } - my $desc = "roundtrip $test -> " . Dumper($data) . " -> $json -> sq:$single_quote utf8:$unicode "; + my $desc = "roundtrip $test -> " . Dumper($data) + . " -> $json -> sq:$single_quote utf8:$unicode "; utf8::encode($desc); is $json, $test, $desc; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-crlf.t new/YAML-Syck-1.30/t/json-crlf.t --- old/YAML-Syck-1.29/t/json-crlf.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-crlf.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Test::More tests => 6; use JSON::Syck; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-empty.t new/YAML-Syck-1.30/t/json-empty.t --- old/YAML-Syck-1.29/t/json-empty.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-empty.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Test::More tests => 1; use JSON::Syck; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-indent.t new/YAML-Syck-1.30/t/json-indent.t --- old/YAML-Syck-1.29/t/json-indent.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-indent.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use JSON::Syck; use Test::More tests => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-loadfile.t new/YAML-Syck-1.30/t/json-loadfile.t --- old/YAML-Syck-1.29/t/json-loadfile.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-loadfile.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,12 +1,14 @@ -use t::TestYAML; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML; use JSON::Syck; use Test::More; -use FindBin '$RealBin'; -chdir $RealBin; +chdir $FindBin::RealBin; -unless ( -w $RealBin ) { - plan skip_all => "Can't write to $RealBin"; +unless ( -w $FindBin::RealBin ) { + plan skip_all => "Can't write to $FindBin::RealBin"; exit; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-minus.t new/YAML-Syck-1.30/t/json-minus.t --- old/YAML-Syck-1.29/t/json-minus.t 2012-11-28 01:18:23.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-minus.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use JSON::Syck; use Test::More tests => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-null.t new/YAML-Syck-1.30/t/json-null.t --- old/YAML-Syck-1.29/t/json-null.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-null.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Test::More tests => 2; use JSON::Syck; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-refs.t new/YAML-Syck-1.30/t/json-refs.t --- old/YAML-Syck-1.29/t/json-refs.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-refs.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use JSON::Syck; use Test::More; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/json-singlequote.t new/YAML-Syck-1.30/t/json-singlequote.t --- old/YAML-Syck-1.29/t/json-singlequote.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/json-singlequote.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,7 +1,10 @@ use strict; use warnings; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Test::More tests => 5; use JSON::Syck; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/load-blessed.t new/YAML-Syck-1.30/t/load-blessed.t --- old/YAML-Syck-1.29/t/load-blessed.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/load-blessed.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,4 +1,7 @@ -use t::TestYAML tests => 11; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML tests => 11; ok( YAML::Syck->VERSION ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/yaml-blessed-ref.t new/YAML-Syck-1.30/t/yaml-blessed-ref.t --- old/YAML-Syck-1.29/t/yaml-blessed-ref.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/yaml-blessed-ref.t 2017-04-20 07:00:52.000000000 +0200 @@ -1,5 +1,8 @@ use strict; -use t::TestYAML tests => 1; +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML tests => 1; use YAML::Syck; use Data::Dumper; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/YAML-Syck-1.29/t/yaml-utf.t new/YAML-Syck-1.30/t/yaml-utf.t --- old/YAML-Syck-1.29/t/yaml-utf.t 2013-03-07 17:31:35.000000000 +0100 +++ new/YAML-Syck-1.30/t/yaml-utf.t 2017-04-20 07:00:52.000000000 +0200 @@ -3,7 +3,10 @@ use utf8; -use t::TestYAML (); +use FindBin; +BEGIN { push @INC, $FindBin::Bin } + +use TestYAML (); use Test::More tests => 3; use YAML::Syck; ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #description: |- # override description from CPAN #summary: override summary from CPAN #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_build: |- # rm unused.files #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
