Hello community,

here is the log from the commit of package perl-ExtUtils-CppGuess for 
openSUSE:Factory checked in at 2020-01-25 13:25:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess (Old)
 and      /work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-ExtUtils-CppGuess"

Sat Jan 25 13:25:24 2020 rev:9 rq:767029 version:0.21

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-ExtUtils-CppGuess/perl-ExtUtils-CppGuess.changes
    2019-09-05 12:34:42.051568822 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-ExtUtils-CppGuess.new.26092/perl-ExtUtils-CppGuess.changes
 2020-01-25 13:25:32.416072844 +0100
@@ -1,0 +2,6 @@
+Fri Jan 24 03:08:52 UTC 2020 -  <[email protected]>
+
+- updated to 0.21
+   see /usr/share/doc/packages/perl-ExtUtils-CppGuess/Changes
+
+-------------------------------------------------------------------

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

New:
----
  ExtUtils-CppGuess-0.21.tar.gz

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

Other differences:
------------------
++++++ perl-ExtUtils-CppGuess.spec ++++++
--- /var/tmp/diff_new_pack.1EoRYh/_old  2020-01-25 13:25:33.192073184 +0100
+++ /var/tmp/diff_new_pack.1EoRYh/_new  2020-01-25 13:25:33.192073184 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-ExtUtils-CppGuess
 #
-# Copyright (c) 2019 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
@@ -17,7 +17,7 @@
 
 
 Name:           perl-ExtUtils-CppGuess
-Version:        0.20
+Version:        0.21
 Release:        0
 %define cpan_name ExtUtils-CppGuess
 Summary:        Guess C++ compiler and flags

++++++ ExtUtils-CppGuess-0.20.tar.gz -> ExtUtils-CppGuess-0.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.20/Changes 
new/ExtUtils-CppGuess-0.21/Changes
--- old/ExtUtils-CppGuess-0.20/Changes  2019-08-31 23:21:31.000000000 +0200
+++ new/ExtUtils-CppGuess-0.21/Changes  2020-01-23 16:24:44.000000000 +0100
@@ -1,4 +1,5 @@
-Revision history for Perl extension ExtUtils::CppGuess.
+0.21 2020-01-23
+- no give $Config{ccflags} in Module::Build as add not replace - thanks @xenu
 
 0.20    Sat 31 Aug 22:20:32 BST 2019
     - no link -lstdc++ if -static-libstdc++ - thanks @andygrundman
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.20/META.json 
new/ExtUtils-CppGuess-0.21/META.json
--- old/ExtUtils-CppGuess-0.20/META.json        2019-08-31 23:23:37.000000000 
+0200
+++ new/ExtUtils-CppGuess-0.21/META.json        2020-01-23 16:25:32.000000000 
+0100
@@ -64,6 +64,6 @@
          "web" : "https://github.com/tsee/extutils-cppguess";
       }
    },
-   "version" : "0.20",
+   "version" : "0.21",
    "x_serialization_backend" : "JSON::PP version 4.00"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.20/META.yml 
new/ExtUtils-CppGuess-0.21/META.yml
--- old/ExtUtils-CppGuess-0.20/META.yml 2019-08-31 23:23:37.000000000 +0200
+++ new/ExtUtils-CppGuess-0.21/META.yml 2020-01-23 16:25:32.000000000 +0100
@@ -34,5 +34,5 @@
 resources:
   bugtracker: https://github.com/tsee/extutils-cppguess/issues
   repository: git://github.com/tsee/extutils-cppguess
-version: '0.20'
+version: '0.21'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ExtUtils-CppGuess-0.20/lib/ExtUtils/CppGuess.pm 
new/ExtUtils-CppGuess-0.21/lib/ExtUtils/CppGuess.pm
--- old/ExtUtils-CppGuess-0.20/lib/ExtUtils/CppGuess.pm 2019-08-31 
23:21:56.000000000 +0200
+++ new/ExtUtils-CppGuess-0.21/lib/ExtUtils/CppGuess.pm 2020-01-23 
16:24:53.000000000 +0100
@@ -172,7 +172,7 @@
 use File::Spec::Functions qw(catfile);
 use File::Temp qw(tempdir);
 
-our $VERSION = '0.20';
+our $VERSION = '0.21';
 
 sub new {
     my( $class, %args ) = @_;
@@ -286,10 +286,10 @@
 }
 
 sub _get_cflags {
-  my $self = shift;
+  my ($self, $omit_ccflags) = @_;
   $self->guess_compiler or die;
   join ' ', '', map _trim_whitespace($_), grep defined && length,
-    $self->_config->{ccflags},
+    ($omit_ccflags ? '' : $self->_config->{ccflags}),
     $self->{guess}{extra_cflags},
     $self->{extra_compiler_flags},
     ($self->is_clang ? '-Wno-reserved-user-defined-literal' : ()),
@@ -323,7 +323,10 @@
     my $self = shift;
 
     my $lflags = $self->_get_lflags;
-    my $cflags = $self->_get_cflags;
+    # We're omitting ccflags to avoid duplication of flags, because unlike
+    # makemaker, we're appending to the compiler flags, not overriding
+    # them. They already contain $Config{ccflags}.
+    my $cflags = $self->_get_cflags(1);
 
     return (
       extra_compiler_flags => $cflags,


Reply via email to