Hello community, here is the log from the commit of package perl-strictures for openSUSE:Factory checked in at 2016-05-12 09:33:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-strictures (Old) and /work/SRC/openSUSE:Factory/.perl-strictures.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-strictures" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-strictures/perl-strictures.changes 2015-11-11 10:35:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-strictures.new/perl-strictures.changes 2016-05-12 09:33:28.000000000 +0200 @@ -1,0 +2,11 @@ +Thu May 5 10:32:06 UTC 2016 - co...@suse.com + +- updated to 2.000003 + see /usr/share/doc/packages/perl-strictures/Changes + + 2.000003 - 2016-04-19 + - update bundled ExtUtils::HasCompiler to 0.013 to fix potential false + negative (RT#113637) + - list optional XS dependencies as suggests rather than recommends (RT#107393) + +------------------------------------------------------------------- Old: ---- strictures-2.000002.tar.gz New: ---- strictures-2.000003.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-strictures.spec ++++++ --- /var/tmp/diff_new_pack.0Zeh7Q/_old 2016-05-12 09:33:28.000000000 +0200 +++ /var/tmp/diff_new_pack.0Zeh7Q/_new 2016-05-12 09:33:28.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-strictures # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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-strictures -Version: 2.000002 +Version: 2.000003 Release: 0 %define cpan_name strictures Summary: Turn On Strict and Make Most Warnings Fatal @@ -36,9 +36,6 @@ Requires: perl(bareword::filehandles) Requires: perl(indirect) Requires: perl(multidimensional) -Recommends: perl(bareword::filehandles) -Recommends: perl(indirect) -Recommends: perl(multidimensional) %{perl_requires} %description @@ -60,9 +57,9 @@ compile as such) get caught, but not at the cost of an XS dependency and not at the cost of blowing things up on another machine. -Therefore, the strictures manpage turns on additional checking, but only -when it thinks it's running in a test file in a VCS checkout -- although if -this causes undesired behaviour this can be overridden by setting the +Therefore, strictures turns on additional checking, but only when it thinks +it's running in a test file in a VCS checkout -- although if this causes +undesired behaviour this can be overridden by setting the 'PERL_STRICTURES_EXTRA' environment variable. If additional useful author side checks come to mind, I'll add them to the ++++++ strictures-2.000002.tar.gz -> strictures-2.000003.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/Changes new/strictures-2.000003/Changes --- old/strictures-2.000002/Changes 2015-11-05 00:26:34.000000000 +0100 +++ new/strictures-2.000003/Changes 2016-04-19 02:37:42.000000000 +0200 @@ -1,5 +1,10 @@ Release history for strictures +2.000003 - 2016-04-19 + - update bundled ExtUtils::HasCompiler to 0.013 to fix potential false + negative (RT#113637) + - list optional XS dependencies as suggests rather than recommends (RT#107393) + 2.000002 - 2015-11-04 - use ExtUtils::HasCompiler to detect compiler rather than ExtUtils::CBuilder - more comprehensive testing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/META.json new/strictures-2.000003/META.json --- old/strictures-2.000002/META.json 2015-11-05 00:26:50.000000000 +0100 +++ new/strictures-2.000003/META.json 2016-04-19 02:40:44.000000000 +0200 @@ -16,7 +16,8 @@ "no_index" : { "directory" : [ "t", - "xt" + "xt", + "inc" ] }, "prereqs" : { @@ -37,13 +38,13 @@ } }, "runtime" : { - "recommends" : { + "requires" : { + "perl" : "5.006" + }, + "suggests" : { "bareword::filehandles" : "0", "indirect" : "0", "multidimensional" : "0" - }, - "requires" : { - "perl" : "5.006" } }, "test" : { @@ -67,5 +68,5 @@ "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/strictures.git" } }, - "version" : "2.000002" + "version" : "2.000003" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/META.yml new/strictures-2.000003/META.yml --- old/strictures-2.000002/META.yml 2015-11-05 00:26:50.000000000 +0100 +++ new/strictures-2.000003/META.yml 2016-04-19 02:40:44.000000000 +0200 @@ -16,14 +16,11 @@ directory: - t - xt -recommends: - bareword::filehandles: '0' - indirect: '0' - multidimensional: '0' + - inc requires: perl: '5.006' resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=strictures license: http://dev.perl.org/licenses/ repository: git://git.shadowcat.co.uk/p5sagit/strictures.git -version: '2.000002' +version: '2.000003' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/Makefile.PL new/strictures-2.000003/Makefile.PL --- old/strictures-2.000002/Makefile.PL 2015-10-27 19:08:34.000000000 +0100 +++ new/strictures-2.000003/Makefile.PL 2016-04-19 02:39:21.000000000 +0200 @@ -1,11 +1,12 @@ use strict; use warnings FATAL => 'all'; use 5.006; -require "inc/ExtUtils/HasCompiler.pm"; +use lib 'inc'; +use ExtUtils::HasCompiler 'can_compile_loadable_object'; my $have_compiler = ! parse_args()->{PUREPERL_ONLY} - && ExtUtils::HasCompiler::can_compile_loadable_object(quiet => 1); + && can_compile_loadable_object(quiet => 1); my %extra_prereqs = ( indirect => 0, @@ -26,7 +27,7 @@ requires => { perl => '5.006', }, - recommends => { + suggests => { %extra_prereqs, }, }, @@ -51,7 +52,7 @@ license => [ 'http://dev.perl.org/licenses/' ], }, no_index => { - directory => [ 't', 'xt' ] + directory => [ 't', 'xt', 'inc' ] }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/inc/ExtUtils/HasCompiler.pm new/strictures-2.000003/inc/ExtUtils/HasCompiler.pm --- old/strictures-2.000002/inc/ExtUtils/HasCompiler.pm 2015-10-27 19:09:04.000000000 +0100 +++ new/strictures-2.000003/inc/ExtUtils/HasCompiler.pm 2016-04-18 22:22:54.000000000 +0200 @@ -1,5 +1,5 @@ package ExtUtils::HasCompiler; -$ExtUtils::HasCompiler::VERSION = '0.012'; +$ExtUtils::HasCompiler::VERSION = '0.013'; use strict; use warnings; @@ -108,8 +108,8 @@ else { my @extra; if ($^O eq 'MSWin32') { - push @extra, "$abs_basename.def"; - push @extra, '-l' . ($libperl =~ /lib([^.]+)\./)[0]; + my $lib = '-l' . ($libperl =~ /lib([^.]+)\./)[0]; + push @extra, "$abs_basename.def", $lib, $perllibs; } elsif ($^O eq 'cygwin') { push @extra, catfile($incdir, $config->get('useshrplib') ? 'libperl.dll.a' : 'libperl.a'); @@ -118,8 +118,11 @@ $lddlflags =~ s/\Q$(BASEEXT)\E/$abs_basename/; $lddlflags =~ s/\Q$(PERL_INC)\E/$incdir/; } + elsif ($^O eq 'android') { + push @extra, qq{"-L$incdir"}, '-lperl', $perllibs; + } push @commands, qq{$cc $ccflags $optimize "-I$incdir" $cccdlflags -c $source_name -o $object_file}; - push @commands, qq{$cc $optimize $object_file -o $loadable_object $lddlflags @extra $perllibs}; + push @commands, qq{$cc $optimize $object_file -o $loadable_object $lddlflags @extra}; } for my $command (@commands) { @@ -132,7 +135,7 @@ require DynaLoader; local @DynaLoader::dl_require_symbols = "boot_$basename"; - my $handle = DynaLoader::dl_load_file($loadable_object, 0); + my $handle = DynaLoader::dl_load_file(File::Spec->rel2abs($loadable_object), 0); if ($handle) { my $symbol = DynaLoader::dl_find_symbol($handle, "boot_$basename") or do { carp "Couldn't find boot symbol for $basename"; return }; my $compilet = DynaLoader::dl_install_xsub('__ANON__::__ANON__', $symbol, $source_name); @@ -168,7 +171,7 @@ =head1 VERSION -version 0.012 +version 0.013 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/strictures-2.000002/lib/strictures.pm new/strictures-2.000003/lib/strictures.pm --- old/strictures-2.000002/lib/strictures.pm 2015-11-05 00:26:28.000000000 +0100 +++ new/strictures-2.000003/lib/strictures.pm 2016-04-18 23:39:41.000000000 +0200 @@ -10,7 +10,7 @@ *_CAN_GOTO_VERSION = ($] >= 5.010000) ? sub(){1} : sub(){0}; } -our $VERSION = '2.000002'; +our $VERSION = '2.000003'; $VERSION = eval $VERSION; our @WARNING_CATEGORIES = grep { exists $warnings::Offsets{$_} } qw(