Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-ExtUtils-CppGuess for 
openSUSE:Factory checked in at 2026-09-18 22:08:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-CppGuess"

Fri Sep 18 22:08:33 2026 rev:14 rq:1378803 version:0.271.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess/perl-ExtUtils-CppGuess.changes
    2024-03-09 20:55:47.901035094 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.383539/perl-ExtUtils-CppGuess.changes
        2026-09-18 22:09:08.192126347 +0200
@@ -1,0 +2,10 @@
+Mon Jul 27 08:46:07 UTC 2026 - Tina Müller <[email protected]>
+
+- updated to 0.271.0 (0.271)
+   see /usr/share/doc/packages/perl-ExtUtils-CppGuess/Changes
+
+  0.271 2026-07-27
+  - 002_icpp.t had problems on macOS since clang pretends to be "gcc" (#31) - 
thanks @johannessen for report
+  - 002_icpp.t had problems when no "cc" available (#30 #32) - thanks 
@johannessen for fix
+
+-------------------------------------------------------------------

Old:
----
  ExtUtils-CppGuess-0.27.tar.gz

New:
----
  ExtUtils-CppGuess-0.271.tar.gz
  README.md
  _scmsync.obsinfo
  build.specials.obscpio

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

Other differences:
------------------
++++++ perl-ExtUtils-CppGuess.spec ++++++
--- /var/tmp/diff_new_pack.55N0B0/_old  2026-09-18 22:09:09.232169935 +0200
+++ /var/tmp/diff_new_pack.55N0B0/_new  2026-09-18 22:09:09.237170145 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-CppGuess
 #
-# Copyright (c) 2024 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,14 +18,16 @@
 
 %define cpan_name ExtUtils-CppGuess
 Name:           perl-ExtUtils-CppGuess
-Version:        0.270.0
+Version:        0.271.0
 Release:        0
-%define cpan_version 0.27
+# 0.271 -> normalize -> 0.271.0
+%define cpan_version 0.271
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Guess C++ compiler and flags
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/E/ET/ETJ/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
+Source100:      README.md
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Capture::Tiny)
@@ -50,7 +52,7 @@
 to ExtUtils::MakeMaker's 'WriteMakefile' function.
 
 %prep
-%autosetup  -n %{cpan_name}-%{cpan_version}
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

++++++ ExtUtils-CppGuess-0.27.tar.gz -> ExtUtils-CppGuess-0.271.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/Changes 
new/ExtUtils-CppGuess-0.271/Changes
--- old/ExtUtils-CppGuess-0.27/Changes  2023-11-19 20:20:10.000000000 +0100
+++ new/ExtUtils-CppGuess-0.271/Changes 2026-07-27 01:47:43.000000000 +0200
@@ -1,3 +1,7 @@
+0.271 2026-07-27
+- 002_icpp.t had problems on macOS since clang pretends to be "gcc" (#31) - 
thanks @johannessen for report
+- 002_icpp.t had problems when no "cc" available (#30 #32) - thanks 
@johannessen for fix
+
 0.27 2023-11-19
 - support C++20 and C++23 standards, and vendored version output - thanks 
@tonycoz
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/MANIFEST.SKIP 
new/ExtUtils-CppGuess-0.271/MANIFEST.SKIP
--- old/ExtUtils-CppGuess-0.27/MANIFEST.SKIP    2022-04-19 19:15:07.000000000 
+0200
+++ new/ExtUtils-CppGuess-0.271/MANIFEST.SKIP   2026-07-27 01:46:14.000000000 
+0200
@@ -83,5 +83,6 @@
 ^t/makemaker/
 
 ^\.github/
+^xt/
 
 \.swp$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/META.json 
new/ExtUtils-CppGuess-0.271/META.json
--- old/ExtUtils-CppGuess-0.27/META.json        2023-11-19 20:21:02.000000000 
+0100
+++ new/ExtUtils-CppGuess-0.271/META.json       2026-07-27 01:48:20.000000000 
+0200
@@ -4,7 +4,7 @@
       "unknown"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.72, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -30,6 +30,11 @@
             "ExtUtils::MakeMaker" : "0"
          }
       },
+      "develop" : {
+         "requires" : {
+            "CPAN::Changes" : "0"
+         }
+      },
       "runtime" : {
          "requires" : {
             "Capture::Tiny" : "0",
@@ -63,6 +68,6 @@
          "web" : "https://github.com/tsee/extutils-cppguess";
       }
    },
-   "version" : "0.27",
+   "version" : "0.271",
    "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/META.yml 
new/ExtUtils-CppGuess-0.271/META.yml
--- old/ExtUtils-CppGuess-0.27/META.yml 2023-11-19 20:21:02.000000000 +0100
+++ new/ExtUtils-CppGuess-0.271/META.yml        2026-07-27 01:48:19.000000000 
+0200
@@ -14,7 +14,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.72, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -33,5 +33,5 @@
 resources:
   bugtracker: https://github.com/tsee/extutils-cppguess/issues
   repository: git://github.com/tsee/extutils-cppguess
-version: '0.27'
+version: '0.271'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/Makefile.PL 
new/ExtUtils-CppGuess-0.271/Makefile.PL
--- old/ExtUtils-CppGuess-0.27/Makefile.PL      2022-04-19 18:36:24.000000000 
+0200
+++ new/ExtUtils-CppGuess-0.271/Makefile.PL     2026-07-27 01:46:14.000000000 
+0200
@@ -36,5 +36,12 @@
           web => 'https://github.com/tsee/extutils-cppguess',
         },
       },
+      prereqs => {
+        develop => {
+          requires => {
+            'CPAN::Changes' => 0,
+          },
+        },
+      },
     },
 );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/lib/ExtUtils/CppGuess.pm 
new/ExtUtils-CppGuess-0.271/lib/ExtUtils/CppGuess.pm
--- old/ExtUtils-CppGuess-0.27/lib/ExtUtils/CppGuess.pm 2023-11-19 
20:19:51.000000000 +0100
+++ new/ExtUtils-CppGuess-0.271/lib/ExtUtils/CppGuess.pm        2026-07-27 
01:47:20.000000000 +0200
@@ -205,7 +205,7 @@
 use File::Spec::Functions qw(catfile);
 use File::Temp qw(tempdir);
 
-our $VERSION = '0.27';
+our $VERSION = '0.271';
 
 sub new {
     my( $class, %args ) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.27/t/002_icpp.t 
new/ExtUtils-CppGuess-0.271/t/002_icpp.t
--- old/ExtUtils-CppGuess-0.27/t/002_icpp.t     2023-11-19 20:11:06.000000000 
+0100
+++ new/ExtUtils-CppGuess-0.271/t/002_icpp.t    2026-07-27 01:46:14.000000000 
+0200
@@ -15,33 +15,53 @@
       linker_flags => 'msvcprt.lib',
     },
   ],
-  [
-    { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => ''} },
-    {
-      is_sunstudio => 0,
-      is_msvc => undef, is_gcc => 1, is_clang => 0,
-      compiler_command => 'g++ -xc++',
-      linker_flags => '-lstdc++',
-    },
-  ],
-  [
-    { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => 
'static-libstdc++'} },
-    {
-      is_sunstudio => 0,
-      is_msvc => undef, is_gcc => 1, is_clang => 0,
-      compiler_command => 'g++ -xc++',
-      linker_flags => '',
-    },
-  ],
-  [
-    { os => 'freebsd', cc => 'gcc', config => {ccflags => ''}, osvers => 9 },
-    {
-      is_sunstudio => 0,
-      is_msvc => undef, is_gcc => 1, is_clang => 0,
-      compiler_command => 'g++ -xc++',
-      linker_flags => '-lstdc++',
-    },
-  ],
+  $^O eq 'darwin' ? () : ( # "gcc" on macOS can be clang
+    [
+      { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => ''} 
},
+      {
+        is_sunstudio => 0,
+        is_msvc => undef, is_gcc => 1, is_clang => 0,
+        compiler_command => 'g++ -xc++',
+        linker_flags => '-lstdc++',
+      },
+    ],
+    [
+      { os => 'MSWin32', cc => 'gcc', config => {ccflags => '', ldflags => 
'static-libstdc++'} },
+      {
+        is_sunstudio => 0,
+        is_msvc => undef, is_gcc => 1, is_clang => 0,
+        compiler_command => 'g++ -xc++',
+        linker_flags => '',
+      },
+    ],
+    [
+      { os => 'freebsd', cc => 'gcc', config => {ccflags => ''}, osvers => 9 },
+      {
+        is_sunstudio => 0,
+        is_msvc => undef, is_gcc => 1, is_clang => 0,
+        compiler_command => 'g++ -xc++',
+        linker_flags => '-lstdc++',
+      },
+    ],
+    [
+      { os => 'netbsd', cc => 'gcc', config => {ccflags => ''} },
+      {
+        is_sunstudio => 0,
+        is_msvc => undef, is_gcc => 1, is_clang => 0,
+        compiler_command => 'g++ -xc++',
+        linker_flags => '-lstdc++ -lgcc_s',
+      },
+    ],
+    [
+      { os => 'linux', cc => 'gcc', config => {ccflags => ''} },
+      {
+        is_sunstudio => 0,
+        is_msvc => undef, is_gcc => 1, is_clang => 0,
+        compiler_command => 'g++ -xc++',
+        linker_flags => '-lstdc++',
+      },
+    ],
+  ),
   [
     { os => 'freebsd', cc => 'gcc', config => {gccversion => 'Clang', ccflags 
=> ''}, osvers => 10 },
     {
@@ -52,15 +72,6 @@
     },
   ],
   [
-    { os => 'netbsd', cc => 'gcc', config => {ccflags => ''} },
-    {
-      is_sunstudio => 0,
-      is_msvc => undef, is_gcc => 1, is_clang => 0,
-      compiler_command => 'g++ -xc++',
-      linker_flags => '-lstdc++ -lgcc_s',
-    },
-  ],
-  [
     { os => 'linux', cc => 'clang', config => {gccversion => 'Clang', ccflags 
=> ''} },
     {
       is_sunstudio => 0,
@@ -70,15 +81,6 @@
     },
   ],
   [
-    { os => 'linux', cc => 'gcc', config => {ccflags => ''} },
-    {
-      is_sunstudio => 0,
-      is_msvc => undef, is_gcc => 1, is_clang => 0,
-      compiler_command => 'g++ -xc++',
-      linker_flags => '-lstdc++',
-    },
-  ],
-  [
     { os => 'linux', cc => '/opt/SUNWspro/bin/cc', config => {ccflags => ''} },
     {
       is_sunstudio => 1,
@@ -101,6 +103,7 @@
 {
   no warnings "redefine";
   *ExtUtils::CppGuess::_capture =
+  *ExtUtils::CppGuess::_capture_empty_stdin =
     sub {
       my @cmd = @_;
       if (my $result = $CAPTURES->{"@cmd"}) {
@@ -140,21 +143,26 @@
          compiler_command => 'g++ -xc++',
          linker_flags => '-lstdc++',
        },
-       { "cc --version" => "cc (Debian 12.2.0-14) 12.2.0" },
+       {
+         "cc --version" => "cc (Debian 12.2.0-14) 12.2.0",
+         "cc -dM -E -" => "#define __GNUC__ 4",
+       },
      ],
     );
 
 for my $test (@CAPS) {
     my ($args, $expect, $cap) = @$test;
     local $CAPTURES = $cap;
-    run_test($args, $expect);
+    run_test($args, $expect, 1);
 }
 
 done_testing;
 
 sub run_test {
-  my ($args, $expect) = @_;
+  my ($args, $expect, $mocked) = @_;
   my $guess = ExtUtils::CppGuess->new(%$args);
   my %got = map {$_ => $guess->$_} @METHODS;
-  is_deeply \%got, $expect or diag explain [ $args, \%got, $expect ];
+  my $label = join(' ', grep $_, map $args->{$_}, qw(os cc));
+  $label .= $mocked ? " (MOCKED)" : " (not mocked)";
+  is_deeply \%got, $expect, $label or diag explain [ $args, \%got, $expect ];
 }

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

## Build Results

Current state of perl in openSUSE:Factory is

![Factory build 
results](https://br.opensuse.org/status/openSUSE:Factory/perl-ExtUtils-CppGuess/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-CppGuess)



++++++ _scmsync.obsinfo ++++++
mtime: 1785141967
commit: 0e302032ea9bf7a6a34a422d4f55c43143644306d5080efa20fb986e5aaf5e55
url: https://src.opensuse.org/perl/perl-ExtUtils-CppGuess
revision: 0e302032ea9bf7a6a34a422d4f55c43143644306d5080efa20fb986e5aaf5e55
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-27 10:46:07.000000000 +0200
@@ -0,0 +1 @@
+.osc

Reply via email to