Hello community, here is the log from the commit of package perl-Devel-CheckLib for openSUSE:Factory checked in at 2018-06-05 12:49:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckLib (Old) and /work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckLib" Tue Jun 5 12:49:36 2018 rev:9 rq:613422 version:1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Devel-CheckLib/perl-Devel-CheckLib.changes 2017-10-26 18:38:13.577190763 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new/perl-Devel-CheckLib.changes 2018-06-05 12:49:39.080803534 +0200 @@ -1,0 +2,9 @@ +Fri Jun 1 05:17:32 UTC 2018 - co...@suse.com + +- updated to 1.12 + see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES + + 1.12 2018-05-23 Fix order of flags for gcc + Fix problems with executable binaries + +------------------------------------------------------------------- Old: ---- Devel-CheckLib-1.11.tar.gz New: ---- Devel-CheckLib-1.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Devel-CheckLib.spec ++++++ --- /var/tmp/diff_new_pack.nv1vRR/_old 2018-06-05 12:49:39.620783748 +0200 +++ /var/tmp/diff_new_pack.nv1vRR/_new 2018-06-05 12:49:39.624783601 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Devel-CheckLib # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,11 +17,11 @@ Name: perl-Devel-CheckLib -Version: 1.11 +Version: 1.12 Release: 0 %define cpan_name Devel-CheckLib Summary: Check That a Library Is Available -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Devel-CheckLib/ Source0: https://cpan.metacpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz ++++++ Devel-CheckLib-1.11.tar.gz -> Devel-CheckLib-1.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckLib-1.11/CHANGES new/Devel-CheckLib-1.12/CHANGES --- old/Devel-CheckLib-1.11/CHANGES 2017-05-23 16:33:18.000000000 +0200 +++ new/Devel-CheckLib-1.12/CHANGES 2018-05-31 15:50:17.000000000 +0200 @@ -1,3 +1,6 @@ +1.12 2018-05-23 Fix order of flags for gcc + Fix problems with executable binaries + 1.11 2017-05-23 Prevent concatenation warnings when LD_RUN_PATH is undefined. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckLib-1.11/META.json new/Devel-CheckLib-1.12/META.json --- old/Devel-CheckLib-1.11/META.json 2017-05-23 16:34:33.000000000 +0200 +++ new/Devel-CheckLib-1.12/META.json 2018-05-31 15:50:44.000000000 +0200 @@ -4,7 +4,7 @@ "unknown" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150001", + "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001", "license" : [ "perl_5" ], @@ -47,5 +47,5 @@ "url" : "http://github.com/mattn/p5-Devel-CheckLib" } }, - "version" : "1.11" + "version" : "1.12" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckLib-1.11/META.yml new/Devel-CheckLib-1.12/META.yml --- old/Devel-CheckLib-1.11/META.yml 2017-05-23 16:34:31.000000000 +0200 +++ new/Devel-CheckLib-1.12/META.yml 2018-05-31 15:50:44.000000000 +0200 @@ -9,7 +9,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150001' +generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter version 2.150001' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,4 +26,4 @@ perl: '5.00405' resources: repository: http://github.com/mattn/p5-Devel-CheckLib -version: '1.11' +version: '1.12' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Devel-CheckLib-1.11/lib/Devel/CheckLib.pm new/Devel-CheckLib-1.12/lib/Devel/CheckLib.pm --- old/Devel-CheckLib-1.11/lib/Devel/CheckLib.pm 2017-05-23 16:31:16.000000000 +0200 +++ new/Devel-CheckLib-1.12/lib/Devel/CheckLib.pm 2018-05-31 15:50:17.000000000 +0200 @@ -5,7 +5,7 @@ use 5.00405; #postfix foreach use strict; use vars qw($VERSION @ISA @EXPORT); -$VERSION = '1.11'; +$VERSION = '1.12'; use Config qw(%Config); use Text::ParseWords 'quotewords'; @@ -159,6 +159,10 @@ It is possible to use this callback, for instance, to inspect the binary for further dependencies. +=item not_execute + +Do not try to execute generated binary. Only check that compilation has not failed. + =back =head2 check_lib_or_exit @@ -270,6 +274,7 @@ @incpaths = (ref($args{incpath}) ? @{$args{incpath}} : $args{incpath}) if $args{incpath}; my $analyze_binary = $args{analyze_binary}; + my $not_execute = $args{not_execute}; my @argv = @ARGV; push @argv, _parse_line('\s+', 0, $ENV{PERL_MM_OPT}||''); @@ -343,15 +348,15 @@ } else { # Unix-ish: gcc, Sun, AIX (gcc, cc), ... @sys_cmd = ( @$cc, - @$ld, - $cfile, (map { "-I$_" } @incpaths), + $cfile, + @$ld, "-o", "$exefile" ); } warn "# @sys_cmd\n" if $args{debug}; my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd); - push @missing, $header if $rv != 0 || ! -x $exefile; + push @missing, $header if $rv != 0 || ! -f $exefile; _cleanup_exe($exefile); unlink $cfile; } @@ -399,25 +404,26 @@ # gcc, Sun, AIX (gcc, cc) @sys_cmd = ( @$cc, - @$ld, - $cfile, - "-o", "$exefile", (map { "-I$_" } @incpaths), + $cfile, (map { "-L$_" } @libpaths), "-l$lib", + @$ld, + "-o", "$exefile", ); } warn "# @sys_cmd\n" if $args{debug}; 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) { + if ($rv != 0 || ! -f $exefile) { push @missing, $lib; } else { + chmod 0755, $exefile; my $absexefile = File::Spec->rel2abs($exefile); $absexefile = '"'.$absexefile.'"' if $absexefile =~ m/\s/; - if (system($absexefile) != 0) { + if (!$not_execute && system($absexefile) != 0) { push @wrongresult, $lib; } else {