Hello community,
here is the log from the commit of package perl-Devel-CheckLib for
openSUSE:Factory checked in at 2015-09-24 06:14:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-CheckLib (Old)
and /work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Devel-CheckLib"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Devel-CheckLib/perl-Devel-CheckLib.changes
2015-02-08 11:42:42.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Devel-CheckLib.new/perl-Devel-CheckLib.changes
2015-09-24 06:14:44.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Sep 20 08:46:25 UTC 2015 - [email protected]
+
+- updated to 1.05
+ see /usr/share/doc/packages/perl-Devel-CheckLib/CHANGES
+
+ 1.05 2015-09-16 Fix handling $PERL_MM_OPT.
+
+ 1.04 2015-09-16 Handle $PERL_MM_OPT.
+
+-------------------------------------------------------------------
Old:
----
Devel-CheckLib-1.03.tar.gz
New:
----
Devel-CheckLib-1.05.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Devel-CheckLib.spec ++++++
--- /var/tmp/diff_new_pack.TDuAaL/_old 2015-09-24 06:14:45.000000000 +0200
+++ /var/tmp/diff_new_pack.TDuAaL/_new 2015-09-24 06:14:45.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-Devel-CheckLib
-Version: 1.03
+Version: 1.05
Release: 0
%define cpan_name Devel-CheckLib
-Summary: check that a library is available
+Summary: Check That a Library Is Available
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Devel-CheckLib/
-Source:
http://www.cpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/M/MA/MATTN/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
++++++ Devel-CheckLib-1.03.tar.gz -> Devel-CheckLib-1.05.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.03/CHANGES
new/Devel-CheckLib-1.05/CHANGES
--- old/Devel-CheckLib-1.03/CHANGES 2015-01-04 03:10:19.000000000 +0100
+++ new/Devel-CheckLib-1.05/CHANGES 2015-09-16 13:20:30.000000000 +0200
@@ -1,3 +1,7 @@
+1.05 2015-09-16 Fix handling $PERL_MM_OPT.
+
+1.04 2015-09-16 Handle $PERL_MM_OPT.
+
1.03 2015-01-04 Update travis.yml
Fix possible crash bug on windows.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.03/META.json
new/Devel-CheckLib-1.05/META.json
--- old/Devel-CheckLib-1.03/META.json 2015-01-04 03:10:46.000000000 +0100
+++ new/Devel-CheckLib-1.05/META.json 2015-09-16 13:21:40.000000000 +0200
@@ -4,7 +4,7 @@
"unknown"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter
version 2.142690",
+ "generated_by" : "ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter
version 2.133380",
"license" : [
"perl_5"
],
@@ -46,5 +46,5 @@
"url" : "http://github.com/mattn/p5-Devel-CheckLib"
}
},
- "version" : "1.03"
+ "version" : "1.05"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.03/META.yml
new/Devel-CheckLib-1.05/META.yml
--- old/Devel-CheckLib-1.03/META.yml 2015-01-04 03:10:46.000000000 +0100
+++ new/Devel-CheckLib-1.05/META.yml 2015-09-16 13:21:40.000000000 +0200
@@ -3,26 +3,26 @@
author:
- unknown
build_requires:
- IO::CaptureOutput: '1.0801'
- Test::More: '0.62'
+ IO::CaptureOutput: 1.0801
+ Test::More: 0.62
configure_requires:
- ExtUtils::MakeMaker: '0'
+ ExtUtils::MakeMaker: 0
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version
2.142690'
+generated_by: 'ExtUtils::MakeMaker version 7.1, CPAN::Meta::Converter version
2.133380'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: '1.4'
+ version: 1.4
name: Devel-CheckLib
no_index:
directory:
- t
- inc
requires:
- Exporter: '0'
- File::Spec: '0'
- File::Temp: '0.16'
- perl: '5.00405'
+ Exporter: 0
+ File::Spec: 0
+ File::Temp: 0.16
+ perl: 5.00405
resources:
repository: http://github.com/mattn/p5-Devel-CheckLib
-version: '1.03'
+version: 1.05
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Devel-CheckLib-1.03/lib/Devel/CheckLib.pm
new/Devel-CheckLib-1.05/lib/Devel/CheckLib.pm
--- old/Devel-CheckLib-1.03/lib/Devel/CheckLib.pm 2015-01-04
03:08:55.000000000 +0100
+++ new/Devel-CheckLib-1.05/lib/Devel/CheckLib.pm 2015-09-16
13:20:18.000000000 +0200
@@ -5,7 +5,7 @@
use 5.00405; #postfix foreach
use strict;
use vars qw($VERSION @ISA @EXPORT);
-$VERSION = '1.03';
+$VERSION = '1.05';
use Config qw(%Config);
use Text::ParseWords 'quotewords';
@@ -177,6 +177,68 @@
return $@ ? 0 : 1;
}
+# borrowed from Text::ParseWords
+sub _parse_line {
+ my($delimiter, $keep, $line) = @_;
+ my($word, @pieces);
+
+ no warnings 'uninitialized'; # we will be testing undef strings
+
+ while (length($line)) {
+ # This pattern is optimised to be stack conservative on older perls.
+ # Do not refactor without being careful and testing it on very long
strings.
+ # See Perl bug #42980 for an example of a stack busting input.
+ $line =~ s/^
+ (?:
+ # double quoted string
+ (") # $quote
+ ((?>[^\\"]*(?:\\.[^\\"]*)*))" # $quoted
+ | # --OR--
+ # singe quoted string
+ (') # $quote
+ ((?>[^\\']*(?:\\.[^\\']*)*))' # $quoted
+ | # --OR--
+ # unquoted string
+ ( # $unquoted
+ (?:\\.|[^\\"'])*?
+ )
+ # followed by
+ ( # $delim
+ \Z(?!\n) # EOL
+ | # --OR--
+ (?-x:$delimiter) # delimiter
+ | # --OR--
+ (?!^)(?=["']) # a quote
+ )
+ )//xs or return; # extended layout
+ my ($quote, $quoted, $unquoted, $delim) = (($1 ? ($1,$2) : ($3,$4)),
$5, $6);
+
+ return() unless( defined($quote) || length($unquoted) ||
length($delim));
+
+ if ($keep) {
+ $quoted = "$quote$quoted$quote";
+ }
+ else {
+ $unquoted =~ s/\\(.)/$1/sg;
+ if (defined $quote) {
+ $quoted =~ s/\\(.)/$1/sg if ($quote eq '"');
+ }
+ }
+ $word .= substr($line, 0, 0); # leave results tainted
+ $word .= defined $quote ? $quoted : $unquoted;
+
+ if (length($delim)) {
+ push(@pieces, $word);
+ push(@pieces, $delim) if ($keep eq 'delimiters');
+ undef $word;
+ }
+ if (!length($line)) {
+ push(@pieces, $word);
+ }
+ }
+ return(@pieces);
+}
+
sub assert_lib {
my %args = @_;
my (@libs, @libpaths, @headers, @incpaths);
@@ -191,9 +253,12 @@
@incpaths = (ref($args{incpath}) ? @{$args{incpath}} : $args{incpath})
if $args{incpath};
+ my @argv = @ARGV;
+ push @argv, _parse_line('\s+', 0, $ENV{PERL_MM_OPT}||'');
+
# work-a-like for Makefile.PL's LIBS and INC arguments
# if given as command-line argument, append to %args
- for my $arg (@ARGV) {
+ for my $arg (@argv) {
for my $mm_attr_key (qw(LIBS INC)) {
if (my ($mm_attr_value) = $arg =~ /\A $mm_attr_key = (.*)/x) {
# it is tempting to put some \s* into the expression, but the
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#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_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