Hello community,
here is the log from the commit of package perl-Config-AutoConf for
openSUSE:Factory checked in at 2020-01-06 16:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Config-AutoConf (Old)
and /work/SRC/openSUSE:Factory/.perl-Config-AutoConf.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Config-AutoConf"
Mon Jan 6 16:02:11 2020 rev:13 rq:760631 version:0.318
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Config-AutoConf/perl-Config-AutoConf.changes
2018-06-15 14:34:15.466716996 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Config-AutoConf.new.6675/perl-Config-AutoConf.changes
2020-01-06 16:02:15.909728210 +0100
@@ -1,0 +2,11 @@
+Fri Jan 3 03:07:20 UTC 2020 - <[email protected]>
+
+- updated to 0.318
+ see /usr/share/doc/packages/perl-Config-AutoConf/Changes
+
+ 0.318 2020-01-02
+ - use File::Slurper instead of File::Slurp::Tiny
+ - use cached pkg_config_prog, when available
+ - bump copyright notice
+
+-------------------------------------------------------------------
Old:
----
Config-AutoConf-0.317.tar.gz
New:
----
Config-AutoConf-0.318.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Config-AutoConf.spec ++++++
--- /var/tmp/diff_new_pack.kwtYUm/_old 2020-01-06 16:02:17.661729121 +0100
+++ /var/tmp/diff_new_pack.kwtYUm/_new 2020-01-06 16:02:17.693729138 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Config-AutoConf
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -12,18 +12,18 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Config-AutoConf
-Version: 0.317
+Version: 0.318
Release: 0
%define cpan_name Config-AutoConf
-Summary: Module to Implement Some of Autoconf Macros in Pure Perl
+Summary: Module to implement some of AutoConf macros in pure perl
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Config-AutoConf/
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
@@ -35,7 +35,7 @@
BuildRequires: perl(Test::More) >= 0.9
Requires: perl(Capture::Tiny)
Recommends: perl(ExtUtils::CBuilder) >= 0.280220
-Recommends: perl(File::Slurp::Tiny)
+Recommends: perl(File::Slurper)
%{perl_requires}
%description
@@ -56,11 +56,11 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
++++++ Config-AutoConf-0.317.tar.gz -> Config-AutoConf-0.318.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/Changes
new/Config-AutoConf-0.318/Changes
--- old/Config-AutoConf-0.317/Changes 2018-06-08 15:38:22.000000000 +0200
+++ new/Config-AutoConf-0.318/Changes 2020-01-02 17:10:49.000000000 +0100
@@ -1,5 +1,10 @@
Revision history for Config-AutoConf
+0.318 2020-01-02
+ - use File::Slurper instead of File::Slurp::Tiny
+ - use cached pkg_config_prog, when available
+ - bump copyright notice
+
0.317 2018-06-08
- fix pkg_config_package_flags a bit more
- improve documentation of pkg_config_package_flags (fix
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/MANIFEST.SKIP
new/Config-AutoConf-0.318/MANIFEST.SKIP
--- old/Config-AutoConf-0.317/MANIFEST.SKIP 2014-09-17 14:55:09.000000000
+0200
+++ new/Config-AutoConf-0.318/MANIFEST.SKIP 2020-01-02 17:10:49.000000000
+0100
@@ -25,7 +25,8 @@
^_build/.*
~$
.*\.planner
-^\..*
+.perltidyrc
+.travis.yml
Config-AutoConf-.*
^applied_patches/
\bxt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/META.json
new/Config-AutoConf-0.318/META.json
--- old/Config-AutoConf-0.317/META.json 2018-06-08 15:45:42.000000000 +0200
+++ new/Config-AutoConf-0.318/META.json 2020-01-02 17:35:53.000000000 +0100
@@ -5,13 +5,13 @@
"Jens Rehsack <[email protected]"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Config-AutoConf",
"no_index" : {
@@ -45,7 +45,7 @@
"runtime" : {
"recommends" : {
"ExtUtils::CBuilder" : "0.280220",
- "File::Slurp::Tiny" : "0",
+ "File::Slurper" : "0",
"Scalar::Util" : "1.18"
},
"requires" : {
@@ -88,6 +88,6 @@
"x_IRC" : "irc://irc.perl.org/#toolchain",
"x_MailingList" : "mailto:[email protected]'"
},
- "version" : "0.317",
- "x_serialization_backend" : "JSON::PP version 2.27400_02"
+ "version" : "0.318",
+ "x_serialization_backend" : "JSON::PP version 4.04"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/META.yml
new/Config-AutoConf-0.318/META.yml
--- old/Config-AutoConf-0.317/META.yml 2018-06-08 15:45:41.000000000 +0200
+++ new/Config-AutoConf-0.318/META.yml 2020-01-02 17:35:53.000000000 +0100
@@ -9,7 +9,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.42, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -21,7 +21,7 @@
- inc
recommends:
ExtUtils::CBuilder: '0.280220'
- File::Slurp::Tiny: '0'
+ File::Slurper: '0'
Scalar::Util: '1.18'
requires:
Capture::Tiny: '0'
@@ -43,5 +43,5 @@
homepage: https://metacpan.org/release/Config-AutoConf
license: http://dev.perl.org/licenses/
repository: https://github.com:ambs/Config-AutoConf.git
-version: '0.317'
+version: '0.318'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/Makefile.PL
new/Config-AutoConf-0.318/Makefile.PL
--- old/Config-AutoConf-0.317/Makefile.PL 2017-08-02 18:47:39.000000000
+0200
+++ new/Config-AutoConf-0.318/Makefile.PL 2020-01-02 16:26:29.000000000
+0100
@@ -2,7 +2,9 @@
use warnings;
use ExtUtils::MakeMaker;
-my %RUN_DEPS = (
+my %CONFIGURE_DEPS = ('ExtUtils::MakeMaker' => 0);
+my %BUILD_DEPS = ();
+my %RUN_DEPS = (
'base' => 0,
'strict' => 0,
'warnings' => 0,
@@ -16,9 +18,6 @@
'File::Temp' => 0,
'Text::ParseWords' => 0,
);
-my %CONFIGURE_DEPS = ('ExtUtils::MakeMaker' => 0);
-my %BUILD_DEPS = ();
-
my %TEST_DEPS = (
'Test::More' => 0.90,
'ExtUtils::CBuilder' => '0.23'
@@ -70,21 +69,23 @@
requires => {%RUN_DEPS},
recommends => {
'ExtUtils::CBuilder' => '0.280220',
- 'File::Slurp::Tiny' => 0,
+ 'File::Slurper' => 0,
'Scalar::Util' => '1.18',
},
},
},
},
- NAME => 'Config::AutoConf',
- AUTHOR => ['Alberto Simoes <[email protected]>', 'Jens Rehsack
<[email protected]'],
- VERSION_FROM => 'lib/Config/AutoConf.pm',
- ABSTRACT_FROM => 'lib/Config/AutoConf.pm',
- LICENSE => 'perl',
- PREREQ_PM => \%RUN_DEPS,
- BUILD_REQUIRES => \%BUILD_DEPS,
- TEST_REQUIRES => \%TEST_DEPS,
- test => {TESTS => 't/*.t xt/*.t'},
+ NAME => 'Config::AutoConf',
+ AUTHOR => ['Alberto Simoes <[email protected]>', 'Jens Rehsack
<[email protected]'],
+ VERSION_FROM => 'lib/Config/AutoConf.pm',
+ ABSTRACT_FROM => 'lib/Config/AutoConf.pm',
+ LICENSE => 'perl',
+ PREREQ_PM => \%RUN_DEPS,
+ BUILD_REQUIRES => \%BUILD_DEPS,
+ TEST_REQUIRES => \%TEST_DEPS,
+ test => {TESTS => 't/*.t xt/*.t'},
+ MIN_PERL_VERSION => 5.006,
+
);
sub WriteMakefile1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/lib/Config/AutoConf.pm
new/Config-AutoConf-0.318/lib/Config/AutoConf.pm
--- old/Config-AutoConf-0.317/lib/Config/AutoConf.pm 2018-06-08
15:38:56.000000000 +0200
+++ new/Config-AutoConf-0.318/lib/Config/AutoConf.pm 2020-01-02
17:10:49.000000000 +0100
@@ -47,8 +47,8 @@
}
EOP
-eval "use File::Slurp::Tiny qw/read_file/;";
-__PACKAGE__->can("read_file") or eval <<'EOP';
+eval "use File::Slurper qw/read_binary/;";
+__PACKAGE__->can("read_binary") or eval <<'EOP';
=begin private
=head2 read_file
@@ -57,7 +57,7 @@
=cut
-sub read_file {
+sub read_binary {
my $fn = shift;
local $@ = "";
open( my $fh, "<", $fn ) or croak "Error opening $fn: $!";
@@ -92,7 +92,7 @@
=cut
-our $VERSION = '0.317';
+our $VERSION = '0.318';
$VERSION = eval $VERSION;
=head1 ABSTRACT
@@ -384,7 +384,7 @@
sub check_prog_awk
{
- my $self = shift->_get_instance();
+ my $self = shift->_get_instance();
my $cache_name = $self->_cache_name("prog", "AWK");
$self->check_cached($cache_name, "for awk", sub { $ENV{AWK} ||
$self->check_progs(qw/gawk mawk nawk awk/) });
}
@@ -499,7 +499,7 @@
);
defined $self->{lex}->{root} or $self->{lex}->{root} = $lex_root_var;
- my $conftest = read_file($lex_root_var . ".c");
+ my $conftest = read_binary($lex_root_var . ".c");
unlink $lex_root_var . ".c";
$cache_name = $self->_cache_name("lib", "lex");
@@ -553,7 +553,7 @@
sub check_prog_sed
{
- my $self = shift->_get_instance();
+ my $self = shift->_get_instance();
my $cache_name = $self->_cache_name("prog", "SED");
$self->check_cached($cache_name, "for sed", sub { $ENV{SED} ||
$self->check_progs(qw/gsed sed/) });
}
@@ -566,7 +566,7 @@
sub check_prog_pkg_config
{
- my $self = shift->_get_instance();
+ my $self = shift->_get_instance();
my $cache_name = $self->_cache_name("prog", "PKG_CONFIG");
$self->check_cached($cache_name, "for pkg-config", sub {
$self->check_prog("pkg-config") });
}
@@ -579,7 +579,7 @@
sub check_prog_cc
{
- my $self = shift->_get_instance();
+ my $self = shift->_get_instance();
my $cache_name = $self->_cache_name("prog", "CC");
$self->check_cached(
@@ -1397,7 +1397,7 @@
$sym_call =~ s/,/) 0, (/g;
my $cache_name = $self->_cache_name("decl", $self->{lang}, $symbol);
- my $check_sub = sub {
+ my $check_sub = sub {
my $body = <<ACEOF;
#ifndef $sym_plain
@@ -1746,7 +1746,7 @@
ref($type) eq "" or return croak("No type to check for");
my $cache_name = $self->_cache_type_name("type", $type);
- my $check_sub = sub {
+ my $check_sub = sub {
my $body = <<ACEOF;
if( sizeof ($type) )
@@ -1954,7 +1954,7 @@
$self = $self->_get_instance();
my $cache_name = $self->_cache_type_name("compute_int", $self->{lang},
$expr);
- my $check_sub = sub {
+ my $check_sub = sub {
my $val = $self->_compute_int_compile($expr, $options->{prologue},
@decls);
defined $val
@@ -2038,7 +2038,7 @@
ref($type) eq "" or return croak("No type to check for");
my $cache_name = $self->_cache_type_name("sizeof", $self->{lang}, $type);
- my $check_sub = sub {
+ my $check_sub = sub {
my @decls;
if ($type =~ m/^([^.]+)\.([^.]+)$/)
{
@@ -2196,7 +2196,7 @@
ref($type) eq "" or return croak("No type to check for");
my $cache_name = $self->_cache_type_name("alignof", $self->{lang}, $type);
- my $check_sub = sub {
+ my $check_sub = sub {
my @decls = (
"#ifndef offsetof",
"# ifdef __ICC",
@@ -2389,7 +2389,7 @@
if( check_aggr.$member )
return 0;
ACEOF
- my $conftest = $self->lang_build_program($options->{prologue}, $body);
+ my $conftest = $self->lang_build_program($options->{prologue},
$body);
my $have_member = $self->compile_if_else($conftest);
unless ($have_member)
@@ -2399,7 +2399,7 @@
if( sizeof check_aggr.$member )
return 0;
ACEOF
- $conftest = $self->lang_build_program($options->{prologue}, $body);
+ $conftest = $self->lang_build_program($options->{prologue},
$body);
$have_member = $self->compile_if_else($conftest);
}
@@ -2710,7 +2710,7 @@
# XXX for C++ the map should look like "c${_}" ...
my @c_ansi_c_headers = map { "${_}.h" } @ansi_c_headers;
- my $rc = $self->check_all_headers(@c_ansi_c_headers, $options);
+ my $rc = $self->check_all_headers(@c_ansi_c_headers,
$options);
$rc and $self->define_var("STDC_HEADERS", 1, "Define to 1 if you have the
ANSI C header files.");
$rc;
}
@@ -2810,7 +2810,7 @@
if ($self->check_header($header))
{
my $cache_name = $self->_cache_name("dirent", $header);
- my $check_sub = sub {
+ my $check_sub = sub {
my $have_dirent;
$have_dirent = $self->_check_header(
$header,
@@ -3003,7 +3003,7 @@
$libperl =~ s/\.[^\.]*$//;
push @{$self->{extra_link_flags}}, "-L" .
File::Spec->catdir($Config{installarchlib}, "CORE");
- push @{$self->{extra_libs}}, "$libperl";
+ push @{$self->{extra_libs}}, "$libperl";
if ($Config{perllibs})
{
foreach my $perllib (split(" ", $Config{perllibs}))
@@ -3094,7 +3094,7 @@
and @other_libs = @{$other_libs[0]};
my $cache_name = $self->_cache_name("lib", $lib, $func);
- my $check_sub = sub {
+ my $check_sub = sub {
my $conftest = $self->lang_call("", $func);
my @save_libs = @{$self->{extra_libs}};
@@ -3190,7 +3190,7 @@
and @other_libs = @{$other_libs[0]};
my $cache_name = $self->_cache_name("search", $func);
- my $check_sub = sub {
+ my $check_sub = sub {
my $conftest = $self->lang_call("", $func);
my @save_libs = @{$self->{extra_libs}};
@@ -3386,7 +3386,7 @@
The C<pkg-config> flags are taken from I<environment variables>
C<< ${package}_CFLAGS >> or C<< ${package}_LIBS >> when defined, respectively.
-It will be a nice touch to document the particular envonment variables
+It will be a nice touch to document the particular environment variables
for your build procedure - as for above example it should be
$ env log4cplus_CFLAGS="-I/opt/coolapp/include" \
@@ -3434,6 +3434,7 @@
(my $pkgpfx = $package) =~ s/^(\w+).*?$/$1/;
my $cache_name = $self->_cache_name("pkg", $pkgpfx);
+ defined $_pkg_config_prog or $_pkg_config_prog =
$self->{cache}->{$self->_cache_name("prog", "PKG_CONFIG")};
defined $_pkg_config_prog or $_pkg_config_prog =
$self->check_prog_pkg_config;
my $check_sub = sub {
my (@pkg_cflags, @pkg_libs);
@@ -4077,7 +4078,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2004-2017 by the Authors
+Copyright 2004-2020 by the Authors
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Config-AutoConf-0.317/t/03.link.t
new/Config-AutoConf-0.318/t/03.link.t
--- old/Config-AutoConf-0.317/t/03.link.t 2018-04-17 11:15:46.000000000
+0200
+++ new/Config-AutoConf-0.318/t/03.link.t 2020-01-02 16:26:29.000000000
+0100
@@ -39,11 +39,11 @@
## OK, we really hope people have -lm around
ok(!$ac_1->check_lib("m", "foobar"), "foobar() not in -lm");
- ok($ac_1->check_lib("m", "atan"), "atan() in -lm");
+ ok($ac_1->check_lib("m", "atan"), "atan() in -lm");
my ($where_atan, $ac_2);
- ok($ac_2 = Config::AutoConf->new(logfile => "config4.log"), "Instantiating
Config::AutoConf for search_libs() tests");
- ok($where_atan = $ac_2->search_libs("atan", [qw(m)]), "searching lib for
atan()");
+ ok($ac_2 = Config::AutoConf->new(logfile => "config4.log"),
"Instantiating Config::AutoConf for search_libs() tests");
+ ok($where_atan = $ac_2->search_libs("atan", [qw(m)]),
"searching lib for atan()");
isnt($where_atan, 0, "library for atan() found (or none required)");
}