Hello community,
here is the log from the commit of package perl-Devel-CheckLib for
openSUSE:Factory checked in at 2017-10-26 18:38:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckLib (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckLib"
Thu Oct 26 18:38:12 2017 rev:8 rq:534185 version:1.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Devel-CheckLib/perl-Devel-CheckLib.changes
2017-03-24 02:23:22.581447211 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new/perl-Devel-CheckLib.changes
2017-10-26 18:38:13.577190763 +0200
@@ -1,0 +2,13 @@
+Mon Oct 16 10:33:19 UTC 2017 - [email protected]
+
+- updated to 1.11
+ see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES
+
+ 1.11 2017-05-23 Prevent concatenation warnings when LD_RUN_PATH is
+ undefined.
+
+ 1.10 2017-04-08 Use Mock::Config.
+
+ 1.09 2017-04-08 Remove link options from @ldflags.
+
+-------------------------------------------------------------------
Old:
----
Devel-CheckLib-1.09.tar.gz
New:
----
Devel-CheckLib-1.11.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-CheckLib.spec ++++++
--- /var/tmp/diff_new_pack.ojstKK/_old 2017-10-26 18:38:14.761135533 +0200
+++ /var/tmp/diff_new_pack.ojstKK/_new 2017-10-26 18:38:14.765135346 +0200
@@ -17,7 +17,7 @@
Name: perl-Devel-CheckLib
-Version: 1.09
+Version: 1.11
Release: 0
%define cpan_name Devel-CheckLib
Summary: Check That a Library Is Available
@@ -30,6 +30,7 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IO::CaptureOutput) >= 1.0801
+BuildRequires: perl(Mock::Config) >= 0.02
%{perl_requires}
%description
++++++ Devel-CheckLib-1.09.tar.gz -> Devel-CheckLib-1.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/CHANGES
new/Devel-CheckLib-1.11/CHANGES
--- old/Devel-CheckLib-1.09/CHANGES 2017-03-18 14:10:49.000000000 +0100
+++ new/Devel-CheckLib-1.11/CHANGES 2017-05-23 16:33:18.000000000 +0200
@@ -1,3 +1,10 @@
+1.11 2017-05-23 Prevent concatenation warnings when LD_RUN_PATH is
+ undefined.
+
+1.10 2017-04-08 Use Mock::Config.
+
+1.09 2017-04-08 Remove link options from @ldflags.
+
1.09 2017-03-18 Add $PATH for the libs on Windows.
1.08 2017-03-18 Add $LD_RUN_PATH for the libs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/META.json
new/Devel-CheckLib-1.11/META.json
--- old/Devel-CheckLib-1.09/META.json 2017-03-18 14:11:07.000000000 +0100
+++ new/Devel-CheckLib-1.11/META.json 2017-05-23 16:34:33.000000000 +0200
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150001",
"license" : [
"perl_5"
],
@@ -23,6 +23,7 @@
"build" : {
"requires" : {
"IO::CaptureOutput" : "1.0801",
+ "Mock::Config" : "0.02",
"Test::More" : "0.62"
}
},
@@ -46,5 +47,5 @@
"url" : "http://github.com/mattn/p5-Devel-CheckLib"
}
},
- "version" : "1.09"
+ "version" : "1.11"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/META.yml
new/Devel-CheckLib-1.11/META.yml
--- old/Devel-CheckLib-1.09/META.yml 2017-03-18 14:11:06.000000000 +0100
+++ new/Devel-CheckLib-1.11/META.yml 2017-05-23 16:34:31.000000000 +0200
@@ -4,11 +4,12 @@
- unknown
build_requires:
IO::CaptureOutput: '1.0801'
+ Mock::Config: '0.02'
Test::More: '0.62'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150001'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,4 +26,4 @@
perl: '5.00405'
resources:
repository: http://github.com/mattn/p5-Devel-CheckLib
-version: '1.09'
+version: '1.11'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/Makefile.PL
new/Devel-CheckLib-1.11/Makefile.PL
--- old/Devel-CheckLib-1.09/Makefile.PL 2017-03-18 08:14:52.000000000 +0100
+++ new/Devel-CheckLib-1.11/Makefile.PL 2017-04-07 17:34:28.000000000 +0200
@@ -23,6 +23,7 @@
BUILD_REQUIRES => {
'Test::More' => 0.62, # too high? but API changed here
'IO::CaptureOutput' => 1.0801,
+ 'Mock::Config' => 0.02,
},
LICENSE => 'perl',
EXE_FILES => [qw(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/lib/Devel/CheckLib.pm
new/Devel-CheckLib-1.11/lib/Devel/CheckLib.pm
--- old/Devel-CheckLib-1.09/lib/Devel/CheckLib.pm 2017-03-18
14:10:56.000000000 +0100
+++ new/Devel-CheckLib-1.11/lib/Devel/CheckLib.pm 2017-05-23
16:31:16.000000000 +0200
@@ -5,7 +5,7 @@
use 5.00405; #postfix foreach
use strict;
use vars qw($VERSION @ISA @EXPORT);
-$VERSION = '1.09';
+$VERSION = '1.11';
use Config qw(%Config);
use Text::ParseWords 'quotewords';
@@ -408,7 +408,7 @@
);
}
warn "# @sys_cmd\n" if $args{debug};
- local $ENV{LD_RUN_PATH} = join(":", @libpaths).":".$ENV{LD_RUN_PATH}
unless $^O eq 'MSWin32';
+ local $ENV{LD_RUN_PATH} = join(":", grep $_, @libpaths,
$ENV{LD_RUN_PATH}) unless $^O eq 'MSWin32';
local $ENV{PATH} = join(";", @libpaths).";".$ENV{PATH} if $^O eq
'MSWin32';
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
if ($rv != 0 || ! -x $exefile) {
@@ -473,7 +473,7 @@
push @Config_ldflags, $config_val if ( $config_val =~ /\S/ );
}
my @ccflags = grep { length } quotewords('\s+', 1, $Config_ccflags||'',
$user_ccflags||'');
- my @ldflags = grep { length } quotewords('\s+', 1, @Config_ldflags,
$user_ldflags||'');
+ my @ldflags = grep { length && $_ !~ m/^-Wl/ } quotewords('\s+', 1,
@Config_ldflags, $user_ldflags||'');
my @paths = split(/$Config{path_sep}/, $ENV{PATH});
my @cc = split(/\s+/, $Config{cc});
if (check_compiler ($cc[0], $debug)) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/t/bad-single-word-compiler.t
new/Devel-CheckLib-1.11/t/bad-single-word-compiler.t
--- old/Devel-CheckLib-1.09/t/bad-single-word-compiler.t 2017-03-18
08:14:52.000000000 +0100
+++ new/Devel-CheckLib-1.11/t/bad-single-word-compiler.t 2017-04-07
17:34:28.000000000 +0200
@@ -9,13 +9,21 @@
use Config;
BEGIN {
- BEGIN { if (not $] < 5.006 ) { warnings->unimport('redefine') } }
- unless(defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
- *Config::STORE = sub { $_[0]->{$_[1]} = $_[2] }
+ eval 'use Mock::Config;';
+ warnings->unimport('redefine') if $] >= 5.006;
+ unless (defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
+ if (!$Mock::Config::VERSION) {
+ plan skip_all => "XSConfig is readonly"
+ if $Config{usecperl} or exists &Config::KEYS;
+ *Config::STORE = sub { $_[0]->{$_[1]} = $_[2] }
+ }
}
}
-if(defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
+if ($Mock::Config::VERSION) {
+ Mock::Config->import(cc => "flibbertigibbet");
+}
+elsif (defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
my $obj = tied %Config::Config;
$obj->{cc} = "flibbertigibbet";
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.09/t/multi-word-compiler.t
new/Devel-CheckLib-1.11/t/multi-word-compiler.t
--- old/Devel-CheckLib-1.09/t/multi-word-compiler.t 2017-03-18
08:14:52.000000000 +0100
+++ new/Devel-CheckLib-1.11/t/multi-word-compiler.t 2017-04-07
17:34:28.000000000 +0200
@@ -9,21 +9,28 @@
use Config;
BEGIN {
- BEGIN { if (not $] < 5.006 ) { warnings->unimport('redefine') } }
+ eval 'use Mock::Config;';
+ warnings->unimport('redefine') if $] >= 5.006;
unless(defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
- *Config::STORE = sub { $_[0]->{$_[1]} = $_[2] }
+ if (!$Mock::Config::VERSION) {
+ plan skip_all => "XSConfig is readonly"
+ if $Config{usecperl} or exists &Config::KEYS;
+ *Config::STORE = sub { $_[0]->{$_[1]} = $_[2] }
+ }
}
}
-if(defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
- my $obj = tied %Config::Config;
- $obj->{cc} = "$^X $Config{cc}";
+if ($Mock::Config::VERSION) {
+ Mock::Config->import(cc => "$^X $Config{cc}");
+}
+elsif (defined($ActivePerl::VERSION) && $Config{cc} =~ /\bgcc\b/) {
+ my $obj = tied %Config::Config;
+ $obj->{cc} = "$^X $Config{cc}";
}
else {
- $Config{cc} = "$^X $Config{cc}";
+ eval { $Config{cc} = "$^X $Config{cc}"; }
}
-eval { $Config{cc} = "$^X $Config{cc}" };
SKIP: {
skip "Couldn't update %Config", 1 if $@ =~ /%Config::Config is read-only/;
eval "use Devel::CheckLib";