Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-ExtUtils-MakeMaker-CPANfile for 
openSUSE:Factory checked in at 2026-07-21 23:12:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker-CPANfile (Old)
 and      
/work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker-CPANfile.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-MakeMaker-CPANfile"

Tue Jul 21 23:12:03 2026 rev:6 rq:1366960 version:0.100.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-MakeMaker-CPANfile/perl-ExtUtils-MakeMaker-CPANfile.changes
        2025-06-13 18:44:28.952486640 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-MakeMaker-CPANfile.new.24530/perl-ExtUtils-MakeMaker-CPANfile.changes
     2026-07-21 23:12:07.681841696 +0200
@@ -1,0 +2,9 @@
+Sun Jul 19 07:37:02 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 0.100.0 (0.10)
+   see /usr/share/doc/packages/perl-ExtUtils-MakeMaker-CPANfile/Changes
+
+  0.10  2026/07/19
+      - merge prereqs using CPAN::Meta::Requirements (GH#1, XSven++)
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-MakeMaker-CPANfile-0.09.tar.gz

New:
----
  ExtUtils-MakeMaker-CPANfile-0.10.tar.gz
  README.md
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ perl-ExtUtils-MakeMaker-CPANfile.spec ++++++
--- /var/tmp/diff_new_pack.AepriK/_old  2026-07-21 23:12:08.345864402 +0200
+++ /var/tmp/diff_new_pack.AepriK/_new  2026-07-21 23:12:08.345864402 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-MakeMaker-CPANfile
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,16 @@
 
 %define cpan_name ExtUtils-MakeMaker-CPANfile
 Name:           perl-ExtUtils-MakeMaker-CPANfile
-Version:        0.90.0
+Version:        0.100.0
 Release:        0
-# 0.09 -> normalize -> 0.90.0
-%define cpan_version 0.09
+# 0.10 -> normalize -> 0.100.0
+%define cpan_version 0.10
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Cpanfile support for EUMM
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
 BuildArch:      noarch
 BuildRequires:  perl
 BuildRequires:  perl-macros

++++++ ExtUtils-MakeMaker-CPANfile-0.09.tar.gz -> 
ExtUtils-MakeMaker-CPANfile-0.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/.travis.yml 
new/ExtUtils-MakeMaker-CPANfile-0.10/.travis.yml
--- old/ExtUtils-MakeMaker-CPANfile-0.09/.travis.yml    2013-09-11 
17:35:46.000000000 +0200
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/.travis.yml    1970-01-01 
01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-language: perl
-perl:
-  - 5.8
-  - 5.10
-  - 5.12
-  - 5.14
-  - 5.16
-  - 5.18
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/Changes 
new/ExtUtils-MakeMaker-CPANfile-0.10/Changes
--- old/ExtUtils-MakeMaker-CPANfile-0.09/Changes        2018-12-28 
09:20:52.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/Changes        2026-07-19 
06:37:57.000000000 +0200
@@ -1,5 +1,8 @@
 Revision history for Perl extension ExtUtils-MakeMaker-CPANfile
 
+0.10  2026/07/19
+    - merge prereqs using CPAN::Meta::Requirements (GH#1, XSven++)
+
 0.09  2018/12/28
     - fixed tests not to fail when $^X contains spaces
       (RT-125074)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/MANIFEST 
new/ExtUtils-MakeMaker-CPANfile-0.10/MANIFEST
--- old/ExtUtils-MakeMaker-CPANfile-0.09/MANIFEST       2018-12-28 
09:21:02.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/MANIFEST       2026-07-19 
06:38:21.000000000 +0200
@@ -1,4 +1,3 @@
-.travis.yml
 Changes
 lib/ExtUtils/MakeMaker/CPANfile.pm
 LICENSE
@@ -7,5 +6,7 @@
 README.md
 t/00_compile.t
 t/01_basic.t
+t/02_meta_upgrade.t
+t/03_complex_prereqs.t
 META.yml                                 Module YAML meta-data (added by 
MakeMaker)
 META.json                                Module JSON meta-data (added by 
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/META.json 
new/ExtUtils-MakeMaker-CPANfile-0.10/META.json
--- old/ExtUtils-MakeMaker-CPANfile-0.09/META.json      2018-12-28 
09:21:02.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/META.json      2026-07-19 
06:38:21.000000000 +0200
@@ -4,7 +4,7 @@
       "Kenichi Ishigaki <[email protected]>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.76, CPAN::Meta::Converter 
version 2.150013",
    "license" : [
       "perl_5"
    ],
@@ -48,6 +48,6 @@
          "url" : "https://github.com/charsbar/ExtUtils-MakeMaker-CPANfile";
       }
    },
-   "version" : "0.09",
-   "x_serialization_backend" : "JSON::PP version 2.94"
+   "version" : "0.10",
+   "x_serialization_backend" : "JSON::PP version 4.18"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/META.yml 
new/ExtUtils-MakeMaker-CPANfile-0.10/META.yml
--- old/ExtUtils-MakeMaker-CPANfile-0.09/META.yml       2018-12-28 
09:21:02.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/META.yml       2026-07-19 
06:38:21.000000000 +0200
@@ -7,7 +7,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.76, CPAN::Meta::Converter version 
2.150013'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,5 +27,5 @@
   version: '0.76'
 resources:
   repository: https://github.com/charsbar/ExtUtils-MakeMaker-CPANfile
-version: '0.09'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
+version: '0.10'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.020'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ExtUtils-MakeMaker-CPANfile-0.09/lib/ExtUtils/MakeMaker/CPANfile.pm 
new/ExtUtils-MakeMaker-CPANfile-0.10/lib/ExtUtils/MakeMaker/CPANfile.pm
--- old/ExtUtils-MakeMaker-CPANfile-0.09/lib/ExtUtils/MakeMaker/CPANfile.pm     
2018-12-28 09:20:52.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/lib/ExtUtils/MakeMaker/CPANfile.pm     
2026-07-19 06:36:50.000000000 +0200
@@ -5,9 +5,10 @@
 use ExtUtils::MakeMaker ();
 use File::Spec::Functions qw/catfile rel2abs/;
 use Module::CPANfile;
+use CPAN::Meta::Requirements;
 use version;
 
-our $VERSION = "0.09";
+our $VERSION = "0.10";
 
 sub import {
   my $class = shift;
@@ -54,7 +55,7 @@
       # Add myself to configure requires (if possible)
       _merge(
          \%params,
-         {'ExtUtils::MakeMaker::CPANfile' => $VERSION},
+         _req('ExtUtils::MakeMaker::CPANfile' => $VERSION),
          _eumm('6.52') ? 'CONFIGURE_REQUIRES' : undef,
       );
 
@@ -158,42 +159,27 @@
 
 sub _get {
   my $prereqs = shift;
-  eval { $prereqs->requirements_for(@_)->as_string_hash };
+  eval { $prereqs->requirements_for(@_) };
+}
+
+sub _req {
+  my $requires = CPAN::Meta::Requirements->new;
+  $requires->add_string_requirement(@_);
+  $requires;
 }
 
 sub _merge {
   my ($params, $requires, $key) = @_;
 
-  return unless $key;
-
-  for (keys %{$requires || {}}) {
-    my $version = _normalize_version($requires->{$_});
-    next unless defined $version;
+  return unless $key && $requires;
 
-    if (not exists $params->{$key}{$_}) {
-      $params->{$key}{$_} = $version;
-    } else {
-      my $prev = $params->{$key}{$_};
-      if (version->parse($prev) < version->parse($version)) {
-        $params->{$key}{$_} = $version;
-      }
-    }
+  for my $module (keys %{ $params->{$key} || {} }) {
+    $requires->add_string_requirement($module => $params->{$key}{$module});
   }
-}
-
-sub _normalize_version {
-  my $version = shift;
-
-  # shortcuts
-  return unless defined $version;
-  return $version unless $version =~ /\s/;
-
-  # TODO: better range handling
-  $version =~ s/(?:>=|==)\s*//;
-  $version =~ s/,.+$//;
+  my $new_hash = $requires->as_string_hash;
+  return unless %$new_hash;
 
-  return $version unless $version =~ /\s/;
-  return;
+  $params->{$key} = $new_hash;
 }
 
 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-MakeMaker-CPANfile-0.09/t/02_meta_upgrade.t 
new/ExtUtils-MakeMaker-CPANfile-0.10/t/02_meta_upgrade.t
--- old/ExtUtils-MakeMaker-CPANfile-0.09/t/02_meta_upgrade.t    1970-01-01 
01:00:00.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/t/02_meta_upgrade.t    2026-07-19 
05:06:16.000000000 +0200
@@ -0,0 +1,89 @@
+use strict;
+use warnings;
+use Test::More;
+use File::Path;
+use FindBin;
+use Cwd ();
+
+my $cwd = Cwd::cwd();
+my $testdir = "$FindBin::Bin/tmp";
+eval {
+  mkpath $testdir;
+  chdir $testdir;
+  { # generate Makefile.PL
+    open my $fh, '>', "$testdir/Makefile.PL" or die;
+    print $fh <<'MK_END';
+      use strict;
+      use warnings;
+      use ExtUtils::MakeMaker::CPANfile;
+      print "# EUMM version: ", $ExtUtils::MakeMaker::VERSION, "\n";
+      WriteMakefile(
+        NAME => 'Test::EUMM::CPANfile',
+        AUTHOR => 'Test',
+        # The following should not let EUMM warn even if it's old
+        LICENSE => 'perl',
+        MIN_PERL_VERSION => '5.008001', # Lancaster consensus
+        META_ADD => {
+          resources => {
+            repository => 'https://github.com/charsbar/Test-EUMM-CPANfile',
+          },
+        },
+        META_MERGE => {},
+        CONFIGURE_REQUIRES => {},
+        BUILD_REQUIRES => {},
+        TEST_REQUIRES => {},
+        PREREQ_PM => {
+          'ExtUtils::Manifest' => '0',
+        },
+      );
+MK_END
+  }
+note do { local $/; open my $fh, '<', "$testdir/Makefile.PL"; <$fh> };
+  { # generate cpanfile
+    open my $fh, '>', "$testdir/cpanfile" or die;
+    print $fh <<'CF_END';
+      requires 'ExtUtils::MakeMaker', '6.17';
+      recommends 'Exporter';
+
+      on configure => sub {
+        requires 'ExtUtils::MakeMaker', '6.30';
+      };
+
+      on build => sub {
+        requires 'Test::More', '0.47';
+      };
+
+      on test => sub {
+        requires 'Test::More', '0.88';
+      };
+CF_END
+  }
+  { # generate .pm file
+    open my $fh, '>', "$testdir/CPANfile.pm" or die;
+    print $fh "package #\n", "Test::EUMM::CPANfile;\n", "1;\n";
+  }
+};
+plan skip_all => "failed to set up a test distribution" if $@;
+
+ok !system($^X, "Makefile.PL"), "ran Makefile.PL";
+ok -f "Makefile", "generated Makefile";
+
+my $makefile = do { local $/; open my $fh, '<', "Makefile"; <$fh> };
+ok $makefile && $makefile =~ 
/(?:_REQUIRES|PREREQ_PM)\s*=>\s*{\s*[^{]*ExtUtils::MakeMaker\s*=>\s*q\[/, "EUMM 
is listed as some kind of prereqs";
+ok $makefile && $makefile =~ 
/(?:_REQUIRES|PREREQ_PM)\s*=>\s*{\s*[^{]*Test::More\s*=>\s*q\[/, "Test::More is 
listed as some kind of prereqs";
+
+my $mymeta = do { local $/; open my $fh, '<', "$testdir/MYMETA.json"; <$fh> };
+ok $mymeta && $mymeta =~ /github\.com/, "repository is kept intact";
+ok $mymeta && $mymeta =~ /Exporter/, "Exporter is kept intact";
+ok $mymeta && $mymeta =~ /ExtUtils::Manifest/, "ExtUtils::Manifest is kept 
intact";
+
+note $mymeta;
+
+done_testing;
+
+END {
+  if ($cwd && $cwd ne Cwd::cwd()) {
+    chdir $cwd;
+    eval { rmtree $testdir } if $testdir && -d $testdir;
+  }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ExtUtils-MakeMaker-CPANfile-0.09/t/03_complex_prereqs.t 
new/ExtUtils-MakeMaker-CPANfile-0.10/t/03_complex_prereqs.t
--- old/ExtUtils-MakeMaker-CPANfile-0.09/t/03_complex_prereqs.t 1970-01-01 
01:00:00.000000000 +0100
+++ new/ExtUtils-MakeMaker-CPANfile-0.10/t/03_complex_prereqs.t 2026-07-19 
06:36:30.000000000 +0200
@@ -0,0 +1,78 @@
+use strict;
+use warnings;
+use Test::More;
+use File::Path;
+use FindBin;
+use Cwd ();
+
+my $cwd = Cwd::cwd();
+my $testdir = "$FindBin::Bin/tmp";
+eval {
+  mkpath $testdir;
+  chdir $testdir;
+  { # generate Makefile.PL
+    open my $fh, '>', "$testdir/Makefile.PL" or die;
+    print $fh <<'MK_END';
+      use strict;
+      use warnings;
+      use ExtUtils::MakeMaker::CPANfile;
+      print "# EUMM version: ", $ExtUtils::MakeMaker::VERSION, "\n";
+      WriteMakefile(
+        NAME => 'Test::EUMM::CPANfile',
+        AUTHOR => 'Test',
+        # The following should not let EUMM warn even if it's old
+        LICENSE => 'perl',
+        MIN_PERL_VERSION => '5.008001', # Lancaster consensus
+        PREREQ_PM => {
+          'ExtUtils::MakeMaker' => '0',
+        },
+        META_ADD => {},
+        META_MERGE => {},
+        CONFIGURE_REQUIRES => {},
+        BUILD_REQUIRES => {},
+        TEST_REQUIRES => {},
+      );
+MK_END
+  }
+note do { local $/; open my $fh, '<', "$testdir/Makefile.PL"; <$fh> };
+  { # generate cpanfile
+    open my $fh, '>', "$testdir/cpanfile" or die;
+    print $fh <<'CF_END';
+      requires 'ExtUtils::MakeMaker', '6.17';
+
+      on configure => sub {
+        requires 'ExtUtils::MakeMaker', '6.30';
+      };
+
+      on build => sub {
+        requires 'Test::More', '0.47';
+      };
+
+      on test => sub {
+        requires 'Test::More', '0.92, != 0.95';
+      };
+CF_END
+  }
+  { # generate .pm file
+    open my $fh, '>', "$testdir/CPANfile.pm" or die;
+    print $fh "package #\n", "Test::EUMM::CPANfile;\n", "1;\n";
+  }
+};
+plan skip_all => "failed to set up a test distribution" if $@;
+
+ok !system($^X, "Makefile.PL"), "ran Makefile.PL";
+ok -f "Makefile", "generated Makefile";
+
+my $makefile = do { local $/; open my $fh, '<', "Makefile"; <$fh> };
+ok $makefile && $makefile =~ 
/(?:_REQUIRES|PREREQ_PM)\s*=>\s*{\s*[^{]*ExtUtils::MakeMaker\s*=>\s*q\[/, "EUMM 
is listed as some kind of prereqs";
+ok $makefile && $makefile =~ 
/(?:_REQUIRES|PREREQ_PM)\s*=>\s*{\s*[^{]*Test::More\s*=>\s*q\[/, "Test::More is 
listed as some kind of prereqs";
+
+note do { local $/; open my $fh, '<', "$testdir/MYMETA.json"; <$fh> };
+done_testing;
+
+END {
+  if ($cwd && $cwd ne Cwd::cwd()) {
+    chdir $cwd;
+    eval { rmtree $testdir } if $testdir && -d $testdir;
+  }
+}

++++++ README.md ++++++

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-ExtUtils-MakeMaker-CPANfile/standard)

The current state of perl in the devel project build (devel:languages:perl)

![Devel project build 
results](https://br.opensuse.org/status/devel:languages:perl/perl-ExtUtils-MakeMaker-CPANfile)



++++++ _scmsync.obsinfo ++++++
mtime: 1784446623
commit: 92eaaf3a655205421472b7f451f9fed66f90550aef8080f2d59896f44bce177e
url: https://src.opensuse.org/perl/perl-ExtUtils-MakeMaker-CPANfile
revision: 92eaaf3a655205421472b7f451f9fed66f90550aef8080f2d59896f44bce177e
projectscmsync: https://src.opensuse.org/perl/_ObsPrj

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-07-19 09:37:03.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to