Hello community, here is the log from the commit of package perl-ExtUtils-Depends for openSUSE:Factory checked in at 2015-02-06 10:23:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-Depends (Old) and /work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-ExtUtils-Depends" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-ExtUtils-Depends/perl-ExtUtils-Depends.changes 2014-09-20 15:49:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new/perl-ExtUtils-Depends.changes 2015-02-06 10:23:36.000000000 +0100 @@ -1,0 +2,16 @@ +Tue Feb 3 15:29:02 UTC 2015 - coolo@suse.com + +- updated to 0.404 + - Depends.pm: sort deps in save_config() and get_makefile_vars(); patch + submitted by Debian's reproducible build team for RT#101602 + - Use / to make ::load filename, not File::Spec - perldoc -f require + + 0.403 + - Avoid using Test::More::done_testing() for to support building + out-of-the-box on older perls. + + 0.402 Sat Oct 18 18:06:19 EEST 2014 + - Set Data::Dumper::Sortkeys = 1 in ExtUtils::Depends->save_config(); + patch submitted by Niko Tyni of the Debian Perl Group; fixes RT#99260 + +------------------------------------------------------------------- Old: ---- ExtUtils-Depends-0.401.tar.gz New: ---- ExtUtils-Depends-0.404.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-ExtUtils-Depends.spec ++++++ --- /var/tmp/diff_new_pack.z1Vj6Z/_old 2015-02-06 10:23:37.000000000 +0100 +++ /var/tmp/diff_new_pack.z1Vj6Z/_new 2015-02-06 10:23:37.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-ExtUtils-Depends # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,7 +17,7 @@ Name: perl-ExtUtils-Depends -Version: 0.401 +Version: 0.404 Release: 0 %define cpan_name ExtUtils-Depends Summary: Easily build XS extensions that depend on XS extensions @@ -29,7 +29,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) >= 0.88 %{perl_requires} %description ++++++ ExtUtils-Depends-0.401.tar.gz -> ExtUtils-Depends-0.404.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/Changes new/ExtUtils-Depends-0.404/Changes --- old/ExtUtils-Depends-0.401/Changes 2014-08-23 07:22:56.000000000 +0200 +++ new/ExtUtils-Depends-0.404/Changes 2015-01-30 03:46:56.000000000 +0100 @@ -1,5 +1,18 @@ Revision history for Perl extension ExtUtils::Depends. +0.404 + - Depends.pm: sort deps in save_config() and get_makefile_vars(); patch + submitted by Debian's reproducible build team for RT#101602 + - Use / to make ::load filename, not File::Spec - perldoc -f require + +0.403 + - Avoid using Test::More::done_testing() for to support building + out-of-the-box on older perls. + +0.402 Sat Oct 18 18:06:19 EEST 2014 + - Set Data::Dumper::Sortkeys = 1 in ExtUtils::Depends->save_config(); + patch submitted by Niko Tyni of the Debian Perl Group; fixes RT#99260 + 0.401 Sat Aug 23 14:20:11 IRKT 2014 - Add README changes created by 'make dist' from the POD - Rename test modules diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/META.json new/ExtUtils-Depends-0.404/META.json --- old/ExtUtils-Depends-0.401/META.json 2014-08-23 07:23:53.000000000 +0200 +++ new/ExtUtils-Depends-0.404/META.json 2015-01-30 03:47:19.000000000 +0100 @@ -4,7 +4,7 @@ "Gtk2-Perl Team <gtk-perl-list at gnome dot org>" ], "dynamic_config" : 1, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240", "keywords" : [ "XS", "XS extensions", @@ -31,7 +31,7 @@ "build" : { "requires" : { "ExtUtils::MakeMaker" : "0", - "Test::More" : "0.88" + "Test::More" : "0" } }, "configure" : { @@ -73,5 +73,5 @@ }, "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list" }, - "version" : "0.401" + "version" : "0.404" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/META.yml new/ExtUtils-Depends-0.404/META.yml --- old/ExtUtils-Depends-0.401/META.yml 2014-08-23 07:23:52.000000000 +0200 +++ new/ExtUtils-Depends-0.404/META.yml 2015-01-30 03:47:19.000000000 +0100 @@ -4,14 +4,14 @@ - 'Gtk2-Perl Team <gtk-perl-list at gnome dot org>' build_requires: ExtUtils::MakeMaker: '0' - Test::More: '0.88' + Test::More: '0' configure_requires: Data::Dumper: '0' ExtUtils::MakeMaker: '0' File::Spec: '0' IO::File: '0' dynamic_config: 1 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240' keywords: - XS - 'XS extensions' @@ -38,4 +38,4 @@ homepage: http://gtk2-perl.sourceforge.net license: http://dev.perl.org/licenses/ repository: git://git.gnome.org/perl-ExtUtils-Depends -version: '0.401' +version: '0.404' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/MYMETA.json new/ExtUtils-Depends-0.404/MYMETA.json --- old/ExtUtils-Depends-0.401/MYMETA.json 2014-08-23 07:23:24.000000000 +0200 +++ new/ExtUtils-Depends-0.404/MYMETA.json 2015-01-30 03:47:13.000000000 +0100 @@ -4,7 +4,7 @@ "Gtk2-Perl Team <gtk-perl-list at gnome dot org>" ], "dynamic_config" : 0, - "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520", + "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240", "keywords" : [ "XS", "XS extensions", @@ -31,7 +31,7 @@ "build" : { "requires" : { "ExtUtils::MakeMaker" : "0", - "Test::More" : "0.88" + "Test::More" : "0" } }, "configure" : { @@ -73,5 +73,5 @@ }, "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list" }, - "version" : "0.401" + "version" : "0.404" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/MYMETA.yml new/ExtUtils-Depends-0.404/MYMETA.yml --- old/ExtUtils-Depends-0.401/MYMETA.yml 2014-08-23 07:23:24.000000000 +0200 +++ new/ExtUtils-Depends-0.404/MYMETA.yml 2015-01-30 03:47:13.000000000 +0100 @@ -4,14 +4,14 @@ - 'Gtk2-Perl Team <gtk-perl-list at gnome dot org>' build_requires: ExtUtils::MakeMaker: '0' - Test::More: '0.88' + Test::More: '0' configure_requires: Data::Dumper: '0' ExtUtils::MakeMaker: '0' File::Spec: '0' IO::File: '0' dynamic_config: 0 -generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.141520' +generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 2.143240' keywords: - XS - 'XS extensions' @@ -38,4 +38,4 @@ homepage: http://gtk2-perl.sourceforge.net license: http://dev.perl.org/licenses/ repository: git://git.gnome.org/perl-ExtUtils-Depends -version: '0.401' +version: '0.404' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/Makefile.PL new/ExtUtils-Depends-0.404/Makefile.PL --- old/ExtUtils-Depends-0.401/Makefile.PL 2014-08-22 10:42:03.000000000 +0200 +++ new/ExtUtils-Depends-0.404/Makefile.PL 2014-12-23 07:17:47.000000000 +0100 @@ -42,7 +42,7 @@ }, build => { requires => { - 'Test::More' => 0.88, + 'Test::More' => 0, }, }, test => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/lib/ExtUtils/Depends.pm new/ExtUtils-Depends-0.404/lib/ExtUtils/Depends.pm --- old/ExtUtils-Depends-0.401/lib/ExtUtils/Depends.pm 2014-08-23 07:22:49.000000000 +0200 +++ new/ExtUtils-Depends-0.404/lib/ExtUtils/Depends.pm 2015-01-30 03:46:29.000000000 +0100 @@ -12,7 +12,7 @@ use File::Spec; use Data::Dumper; -our $VERSION = '0.401'; +our $VERSION = '0.404'; sub import { my $class = shift; @@ -114,6 +114,7 @@ sub save_config { use Data::Dumper; local $Data::Dumper::Terse = 0; + local $Data::Dumper::Sortkeys = 1; use IO::File; my ($self, $filename) = @_; @@ -126,7 +127,7 @@ inc => join (" ", @{ $self->{inc} }), libs => $self->{libs}, typemaps => [ map { basename $_ } @{ $self->{typemaps} } ], - deps => [keys %{ $self->{deps} }], + deps => [sort keys %{ $self->{deps} }], }], ['self']); print $file <<'EOF'; @@ -177,7 +178,8 @@ my $dep = shift; my @pieces = split /::/, $dep; my @suffix = qw/ Install Files /; - my $relpath = File::Spec->catfile (@pieces, @suffix) . '.pm'; + # not File::Spec - see perldoc -f require + my $relpath = join('/', @pieces, @suffix) . '.pm'; my $depinstallfiles = join "::", @pieces, @suffix; eval { require $relpath @@ -270,7 +272,7 @@ my @incbits = map { split } @{ $self->{inc} }; my @libsbits = split /\s+/, $self->{libs}; my @typemaps = @{ $self->{typemaps} }; - foreach my $d (keys %{ $self->{deps} }) { + foreach my $d (sort keys %{ $self->{deps} }) { my $dep = $self->{deps}{$d}; #push @defbits, @{ $dep->{defines} }; push @incbits, @{ $dep->{defines} } if $dep->{defines}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ExtUtils-Depends-0.401/t/02_save_load.t new/ExtUtils-Depends-0.404/t/02_save_load.t --- old/ExtUtils-Depends-0.401/t/02_save_load.t 2014-08-22 14:54:17.000000000 +0200 +++ new/ExtUtils-Depends-0.404/t/02_save_load.t 2015-01-29 07:27:11.000000000 +0100 @@ -2,7 +2,7 @@ use strict; use warnings; -use Test::More; +use Test::More tests => 40; use FindBin; use lib "$FindBin::Bin/lib"; @@ -44,7 +44,13 @@ use Data::Dumper; $Data::Dumper::Terse = 1; -$dep_info->save_config (catfile $tmp_inc, qw(DepTest Install Files.pm)); +my $IFpm = catfile $tmp_inc, qw(DepTest Install Files.pm); +$dep_info->save_config ($IFpm); + +# ensure '/' used for config filename in require, not File::Spec +open my $iffh, '>>', $IFpm or die "write $IFpm: $!"; +print $iffh qq{\nwarn "LOADING\\n";\n1;\n}; +undef $iffh; # --------------------------------------------------------------------------- # @@ -75,7 +81,16 @@ # --------------------------------------------------------------------------- # -my $info = ExtUtils::Depends::load ('DepTest'); +my $info; +{ +my $warning = ''; +local $SIG{__WARN__} = sub { $warning .= join '', @_; }; +$info = ExtUtils::Depends::load ('DepTest'); +like $warning, qr/LOADING/, 'loaded once'; +$warning = ''; +require DepTest::Install::Files; +unlike $warning, qr/LOADING/, 'not loaded twice'; +} my $install_part = qr|DepTest.Install|; like ($info->{inc}, $install_part, "loaded inc"); @@ -147,7 +162,3 @@ } test_load (ExtUtils::Depends::load('PSnew'), 'load new scheme'); test_load (ExtUtils::Depends::load('PSold'), 'load old scheme'); - -# --------------------------------------------------------------------------- # - -done_testing; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org