Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-ExtUtils-Depends for 
openSUSE:Factory checked in at 2021-05-20 19:24:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-Depends (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-Depends"

Thu May 20 19:24:38 2021 rev:30 rq:893996 version:0.8001

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-Depends/perl-ExtUtils-Depends.changes  
    2019-04-12 09:13:58.189660450 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-Depends.new.2988/perl-ExtUtils-Depends.changes
    2021-05-20 19:24:54.961978008 +0200
@@ -1,0 +2,12 @@
+Mon May 17 03:06:18 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.8001
+   see /usr/share/doc/packages/perl-ExtUtils-Depends/Changes
+
+  0.8001
+      - Remove hack (cf https://rt.cpan.org/Ticket/Display.html?id=45224)
+        The hijacking of EUMM's `static_lib` method is now obsolete, as well as
+        causing problems.
+      - Also added a couple of code tidy-ups
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-Depends-0.8000.tar.gz

New:
----
  ExtUtils-Depends-0.8001.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-ExtUtils-Depends.spec ++++++
--- /var/tmp/diff_new_pack.D0N9rH/_old  2021-05-20 19:24:55.357976383 +0200
+++ /var/tmp/diff_new_pack.D0N9rH/_new  2021-05-20 19:24:55.357976383 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-Depends
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,21 @@
 #
 
 
+%define cpan_name ExtUtils-Depends
 Name:           perl-ExtUtils-Depends
-Version:        0.8000
+Version:        0.8001
 Release:        0
-%define cpan_name ExtUtils-Depends
+#Upstream: SUSE-Public-Domain
 Summary:        Easily build XS extensions that depend on XS extensions
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            https://metacpan.org/release/%{cpan_name}
+URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/X/XA/XAOC/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 7.44
+Requires:       perl(ExtUtils::MakeMaker) >= 7.44
 %{perl_requires}
 
 %description
@@ -94,11 +95,11 @@
   @deps = Mymod::Install::Files->deps;
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -109,7 +110,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 
 %changelog

++++++ ExtUtils-Depends-0.8000.tar.gz -> ExtUtils-Depends-0.8001.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/Changes 
new/ExtUtils-Depends-0.8001/Changes
--- old/ExtUtils-Depends-0.8000/Changes 2019-04-09 17:12:15.000000000 +0200
+++ new/ExtUtils-Depends-0.8001/Changes 2021-05-16 06:37:23.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Perl extension ExtUtils::Depends.
 
+0.8001
+    - Remove hack (cf https://rt.cpan.org/Ticket/Display.html?id=45224)
+      The hijacking of EUMM's `static_lib` method is now obsolete, as well as
+      causing problems.
+    - Also added a couple of code tidy-ups
+
 0.8000
     - Bump version so https://metacpan.org/pod/ExtUtils::Depends shows the
       correct _ExtUtils::Depends_ module
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/META.json 
new/ExtUtils-Depends-0.8001/META.json
--- old/ExtUtils-Depends-0.8000/META.json       2019-04-09 17:12:48.000000000 
+0200
+++ new/ExtUtils-Depends-0.8001/META.json       2021-05-16 06:39:49.000000000 
+0200
@@ -5,7 +5,7 @@
       "Gtk2-Perl Team <gtk-perl-list at gnome dot org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
    "keywords" : [
       "XS",
       "XS extensions",
@@ -39,7 +39,7 @@
       "configure" : {
          "requires" : {
             "Data::Dumper" : "0",
-            "ExtUtils::MakeMaker" : "0",
+            "ExtUtils::MakeMaker" : "7.44",
             "File::Spec" : "0",
             "IO::File" : "0"
          }
@@ -47,6 +47,7 @@
       "runtime" : {
          "requires" : {
             "Data::Dumper" : "0",
+            "ExtUtils::MakeMaker" : "7.44",
             "File::Spec" : "0",
             "IO::File" : "0",
             "perl" : "5.006"
@@ -75,6 +76,6 @@
       },
       "x_MailingList" : "https://mail.gnome.org/mailman/listinfo/gtk-perl-list";
    },
-   "version" : "0.8000",
+   "version" : "0.8001",
    "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/META.yml 
new/ExtUtils-Depends-0.8001/META.yml
--- old/ExtUtils-Depends-0.8000/META.yml        2019-04-09 17:12:48.000000000 
+0200
+++ new/ExtUtils-Depends-0.8001/META.yml        2021-05-16 06:39:49.000000000 
+0200
@@ -8,11 +8,11 @@
   Test::More: '0'
 configure_requires:
   Data::Dumper: '0'
-  ExtUtils::MakeMaker: '0'
+  ExtUtils::MakeMaker: '7.44'
   File::Spec: '0'
   IO::File: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
 keywords:
   - XS
   - 'XS extensions'
@@ -30,6 +30,7 @@
     - ExtUtils::MM
 requires:
   Data::Dumper: '0'
+  ExtUtils::MakeMaker: '7.44'
   File::Spec: '0'
   IO::File: '0'
   perl: '5.006'
@@ -39,5 +40,5 @@
   homepage: http://gtk2-perl.sourceforge.net
   license: http://dev.perl.org/licenses/
   repository: git://git.gnome.org/perl-ExtUtils-Depends
-version: '0.8000'
+version: '0.8001'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/Makefile.PL 
new/ExtUtils-Depends-0.8001/Makefile.PL
--- old/ExtUtils-Depends-0.8000/Makefile.PL     2014-12-23 07:17:47.000000000 
+0100
+++ new/ExtUtils-Depends-0.8001/Makefile.PL     2021-05-15 02:38:49.000000000 
+0200
@@ -8,6 +8,7 @@
        'File::Spec' => 0,
        'Data::Dumper' => 0,
        'IO::File' => 0,
+       'ExtUtils::MakeMaker' => '7.44', # no need for Win32 static_lib hack
 );
 
 my %meta_merge = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/lib/ExtUtils/Depends.pm 
new/ExtUtils-Depends-0.8001/lib/ExtUtils/Depends.pm
--- old/ExtUtils-Depends-0.8000/lib/ExtUtils/Depends.pm 2019-04-09 
16:55:47.000000000 +0200
+++ new/ExtUtils-Depends-0.8001/lib/ExtUtils/Depends.pm 2021-05-16 
06:34:50.000000000 +0200
@@ -8,7 +8,7 @@
 use File::Spec;
 use Data::Dumper;
 
-our $VERSION = '0.8000';
+our $VERSION = '0.8001';
 
 sub import {
        my $class = shift;
@@ -152,10 +152,6 @@
 
        sub Inline {
                my (\$class, \$lang) = \@_;
-               if (\$lang ne 'C') {
-                       warn "Warning: Inline hints not available for \$lang 
language\n";
-                       return;
-               }
                +{ map { (uc(\$_) => \$self->{\$_}) } qw(inc libs typemaps) };
        }
 EOT
@@ -229,36 +225,22 @@
 
 sub load_deps {
        my $self = shift;
-       my @load = grep { not $self->{deps}{$_} } keys %{ $self->{deps} };
+       my @load = grep !$self->{deps}{$_}, keys %{ $self->{deps} };
+       my %in_load; @in_load{@load} = ();
        foreach my $d (@load) {
-               my $dep = load ($d);
-               $self->{deps}{$d} = $dep;
-               if ($dep->{deps}) {
-                       foreach my $childdep (@{ $dep->{deps} }) {
-                               push @load, $childdep
-                                       unless
-                                               $self->{deps}{$childdep}
-                                       or
-                                               grep {$_ eq $childdep} @load;
-                       }
-               }
+               $self->{deps}{$d} = my $dep = load($d);
+               my @new_deps = grep !($self->{deps}{$_} || exists $in_load{$_}),
+                       @{ $dep->{deps} || [] };
+               push @load, @new_deps;
+               @in_load{@new_deps} = ();
        }
 }
 
 sub uniquify {
        my %seen;
-       # we use a seen hash, but also keep indices to preserve
-       # first-seen order.
-       my $i = 0;
-       foreach (@_) {
-               $seen{$_} = ++$i
-                       unless exists $seen{$_};
-       }
-       #warn "stripped ".(@_ - (keys %seen))." redundant elements\n";
-       sort { $seen{$a} <=> $seen{$b} } keys %seen;
+       grep !$seen{$_}++, @_;
 }
 
-
 sub get_makefile_vars {
        my $self = shift;
 
@@ -386,29 +368,6 @@
        return @found_libs;
 }
 
-# Hook into ExtUtils::MakeMaker to create an import library on MSWin32 when gcc
-# is used.  FIXME: Ideally, this should be done in EU::MM itself.
-package # wrap to fool the CPAN indexer
-       ExtUtils::MM;
-use Config;
-sub static_lib {
-       my $base = shift->SUPER::static_lib(@_);
-
-       return $base unless $^O =~ /MSWin32/ && $Config{cc} =~ /\bgcc\b/i;
-
-       my $DLLTOOL = $Config{'dlltool'} || 'dlltool';
-
-       return <<"__EOM__"
-# This isn't actually a static lib, it just has the same name on Win32.
-\$(INST_DYNAMIC_LIB): \$(INST_DYNAMIC)
-       $DLLTOOL --def \$(EXPORT_LIST) --output-lib \$\@ --dllname 
\$(DLBASE).\$(DLEXT) \$(INST_DYNAMIC)
-
-dynamic:: \$(INST_DYNAMIC_LIB)
-__EOM__
-}
-
-1;
-
 __END__
 
 =head1 NAME
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-Depends-0.8000/t/02_save_load.t 
new/ExtUtils-Depends-0.8001/t/02_save_load.t
--- old/ExtUtils-Depends-0.8000/t/02_save_load.t        2015-01-29 
07:27:11.000000000 +0100
+++ new/ExtUtils-Depends-0.8001/t/02_save_load.t        2021-05-15 
02:38:49.000000000 +0200
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 40;
+use Test::More tests => 41;
 
 use FindBin;
 use lib "$FindBin::Bin/lib";
@@ -52,6 +52,9 @@
 print $iffh qq{\nwarn "LOADING\\n";\n1;\n};
 undef $iffh;
 
+# test utility function
+is_deeply [ExtUtils::Depends::uniquify(qw(a c b c a b))], [qw(a c b)];
+
 # --------------------------------------------------------------------------- #
 
 my %vars = $dep_info->get_makefile_vars;

Reply via email to