Hello community,
here is the log from the commit of package perl-ExtUtils-PkgConfig for
openSUSE:Factory checked in at 2017-04-29 10:53:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-PkgConfig (Old)
and /work/SRC/openSUSE:Factory/.perl-ExtUtils-PkgConfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-ExtUtils-PkgConfig"
Sat Apr 29 10:53:46 2017 rev:29 rq:491832 version:1.160000
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-ExtUtils-PkgConfig/perl-ExtUtils-PkgConfig.changes
2015-04-27 13:04:27.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-ExtUtils-PkgConfig.new/perl-ExtUtils-PkgConfig.changes
2017-04-29 10:54:12.162477697 +0200
@@ -1,0 +2,10 @@
+Sat Apr 22 05:42:33 UTC 2017 - [email protected]
+
+- updated to 1.16
+ see /usr/share/doc/packages/perl-ExtUtils-PkgConfig/Changes
+
+ 1.16 Thu Apr 20 18:51:36 PDT 2017
+ - Add exists() method, and update README (RT#77880)
+ - Handle removal of '.' from @INC for Perl 5.24 (RT#120819)
+
+-------------------------------------------------------------------
Old:
----
ExtUtils-PkgConfig-1.15.tar.gz
New:
----
ExtUtils-PkgConfig-1.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-ExtUtils-PkgConfig.spec ++++++
--- /var/tmp/diff_new_pack.dAeMaP/_old 2017-04-29 10:54:12.922370348 +0200
+++ /var/tmp/diff_new_pack.dAeMaP/_new 2017-04-29 10:54:12.926369783 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-ExtUtils-PkgConfig
#
-# 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,16 +17,16 @@
Name: perl-ExtUtils-PkgConfig
-Version: 1.150000
+Version: 1.160000
Release: 0
-%define cpan_version 1.15
-Provides: perl(ExtUtils::PkgConfig) = 1.150000
+%define cpan_version 1.16
+Provides: perl(ExtUtils::PkgConfig) = 1.160000
%define cpan_name ExtUtils-PkgConfig
Summary: Simplistic Interface to Pkg-Config
License: LGPL-2.1+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/ExtUtils-PkgConfig/
-Source0:
http://www.cpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ ExtUtils-PkgConfig-1.15.tar.gz -> ExtUtils-PkgConfig-1.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/Changes
new/ExtUtils-PkgConfig-1.16/Changes
--- old/ExtUtils-PkgConfig-1.15/Changes 2013-09-29 07:14:46.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.16/Changes 2017-04-21 03:55:28.000000000 +0200
@@ -1,5 +1,9 @@
Revision history for Perl extension ExtUtils::PkgConfig.
+1.16 Thu Apr 20 18:51:36 PDT 2017
+ - Add exists() method, and update README (RT#77880)
+ - Handle removal of '.' from @INC for Perl 5.24 (RT#120819)
+
1.15 Sat Sep 28 22:14:31 PDT 2013
- Gracefully handle empty fields in pkg-config files.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/META.json
new/ExtUtils-PkgConfig-1.16/META.json
--- old/ExtUtils-PkgConfig-1.15/META.json 2013-09-29 07:20:11.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.16/META.json 2017-04-21 03:57:00.000000000
+0200
@@ -1,11 +1,13 @@
{
"abstract" : "unknown",
"author" : [
+ "unknown",
"gtk2-perl Team <gtk-perl-list at gnome dot org>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter
version 2.120921",
+ "generated_by" : "ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter
version 2.150005",
"license" : [
+ "unknown",
"lgpl_2_1"
],
"meta-spec" : {
@@ -19,6 +21,18 @@
"inc"
]
},
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ }
+ },
"release_status" : "stable",
"resources" : {
"bugtracker" : {
@@ -36,5 +50,6 @@
},
"x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list"
},
- "version" : "1.15"
+ "version" : "1.16",
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/META.yml
new/ExtUtils-PkgConfig-1.16/META.yml
--- old/ExtUtils-PkgConfig-1.15/META.yml 2013-09-29 07:20:11.000000000
+0200
+++ new/ExtUtils-PkgConfig-1.16/META.yml 2017-04-21 03:56:59.000000000
+0200
@@ -1,23 +1,28 @@
---
abstract: unknown
author:
+ - unknown
- 'gtk2-perl Team <gtk-perl-list at gnome dot org>'
-build_requires: {}
+build_requires:
+ ExtUtils::MakeMaker: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version
2.120921'
-license: lgpl
+generated_by: 'ExtUtils::MakeMaker version 7.18, CPAN::Meta::Converter version
2.150005'
+license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: ExtUtils-PkgConfig
no_index:
directory:
- t
- inc
resources:
+ MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
bugtracker:
http://rt.cpan.org/Public/Dist/Display.html?Name=ExtUtils-PkgConfig
homepage: http://gtk2-perl.sourceforge.net
license: http://www.gnu.org/licenses/lgpl-2.1.html
repository: git://git.gnome.org/perl-ExtUtils-PkgConfig
- x_MailingList: https://mail.gnome.org/mailman/listinfo/gtk-perl-list
-version: 1.15
+version: '1.16'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/README
new/ExtUtils-PkgConfig-1.16/README
--- old/ExtUtils-PkgConfig-1.15/README 2013-09-29 07:20:11.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.16/README 2017-04-21 03:57:00.000000000 +0200
@@ -11,6 +11,8 @@
print "cflags: $pkg_info{cflags}\n";
print "libs: $pkg_info{libs}\n";
+ $exists = ExtUtils::PkgConfig->exists($package);
+
$modversion = ExtUtils::PkgConfig->modversion($package);
$libs = ExtUtils::PkgConfig->libs($package);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/lib/ExtUtils/PkgConfig.pm
new/ExtUtils-PkgConfig-1.16/lib/ExtUtils/PkgConfig.pm
--- old/ExtUtils-PkgConfig-1.15/lib/ExtUtils/PkgConfig.pm 2013-09-29
07:14:59.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.16/lib/ExtUtils/PkgConfig.pm 2017-04-21
03:55:57.000000000 +0200
@@ -24,7 +24,7 @@
use vars qw/ $VERSION $AUTOLOAD/;
-$VERSION = '1.15';
+$VERSION = '1.16';
sub import {
my $class = shift;
@@ -84,6 +84,20 @@
return $ans;
}
+sub exists {
+ my ($class, @pkg_candidates) = @_;
+
+ foreach my $candidate (@pkg_candidates)
+ {
+ my $output = qx/pkg-config --exists "$candidate" 2>&1/;
+ if (0 == $CHILD_ERROR) {
+ return 1;
+ }
+ }
+
+ return '';
+}
+
sub find {
my ($class, @pkg_candidates) = @_;
my (@pkgs_found, @error_messages);
@@ -203,6 +217,8 @@
print "cflags: $pkg_info{cflags}\n";
print "libs: $pkg_info{libs}\n";
+ $exists = ExtUtils::PkgConfig->exists($package);
+
$modversion = ExtUtils::PkgConfig->modversion($package);
$libs = ExtUtils::PkgConfig->libs($package);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/t/1.t
new/ExtUtils-PkgConfig-1.16/t/1.t
--- old/ExtUtils-PkgConfig-1.15/t/1.t 2012-04-28 21:56:25.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.16/t/1.t 2017-04-21 02:48:30.000000000 +0200
@@ -7,10 +7,10 @@
#########################
-use Test::More tests => 7;
+use Test::More tests => 10;
BEGIN { use_ok('ExtUtils::PkgConfig') };
-require 't/swallow_stderr.inc';
+require './t/swallow_stderr.inc';
#########################
@@ -32,13 +32,19 @@
ok( $@ );
});
+ok( ExtUtils::PkgConfig->exists(qw/test_glib-2.0 /) );
+
# test 2 for success
eval { %pkg = ExtUtils::PkgConfig->find(qw/bad1 test_glib-2.0/); };
ok( not $@ );
ok( $pkg{modversion} and $pkg{cflags} and $pkg{libs} );
+ok( ExtUtils::PkgConfig->exists(qw/bad1 test_glib-2.0/) );
+
# test 2 for failure
swallow_stderr (sub {
eval { %pkg = ExtUtils::PkgConfig->find(qw/bad1 bad2/); };
ok( $@ );
});
+
+ok( !ExtUtils::PkgConfig->exists(qw/bad1 bad2/) );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/ExtUtils-PkgConfig-1.15/t/4.t
new/ExtUtils-PkgConfig-1.16/t/4.t
--- old/ExtUtils-PkgConfig-1.15/t/4.t 2012-04-28 21:56:25.000000000 +0200
+++ new/ExtUtils-PkgConfig-1.16/t/4.t 2017-04-21 02:48:30.000000000 +0200
@@ -8,7 +8,7 @@
use Test::More tests => 24;
use ExtUtils::PkgConfig;
-require 't/swallow_stderr.inc';
+require './t/swallow_stderr.inc';
$ENV{PKG_CONFIG_PATH} = './t/';
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.dAeMaP/_old 2017-04-29 10:54:13.054351704 +0200
+++ /var/tmp/diff_new_pack.dAeMaP/_new 2017-04-29 10:54:13.058351138 +0200
@@ -15,7 +15,7 @@
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
-#license: SUSE-NonFree
+license: LGPL-2.1+
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag