Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gn for openSUSE:Factory checked in 
at 2023-11-13 22:20:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gn (Old)
 and      /work/SRC/openSUSE:Factory/.gn.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gn"

Mon Nov 13 22:20:03 2023 rev:15 rq:1125118 version:0.20231023

Changes:
--------
--- /work/SRC/openSUSE:Factory/gn/gn.changes    2023-03-09 17:47:09.775362345 
+0100
+++ /work/SRC/openSUSE:Factory/.gn.new.17445/gn.changes 2023-11-13 
22:23:35.777523544 +0100
@@ -1,0 +2,8 @@
+Fri Nov 10 20:27:59 UTC 2023 - Andreas Stieger <andreas.stie...@gmx.de>
+
+- Update to version 0.20231023:
+  * many updates to support Chromium 119 build
+- drop deprecated_copy.patch
+- add redundant-move.patch
+
+-------------------------------------------------------------------

Old:
----
  deprecated_copy.patch
  gn-0.20210811.obscpio

New:
----
  gn-0.20231023.obscpio
  redundant-move.patch

BETA DEBUG BEGIN:
  Old:  * many updates to support Chromium 119 build
- drop deprecated_copy.patch
- add redundant-move.patch
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:- drop deprecated_copy.patch
- add redundant-move.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ gn.spec ++++++
--- /var/tmp/diff_new_pack.zgn5N8/_old  2023-11-13 22:23:36.369545342 +0100
+++ /var/tmp/diff_new_pack.zgn5N8/_new  2023-11-13 22:23:36.369545342 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gn
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,28 +15,32 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:           gn
-Version:        0.20210811
+Version:        0.20231023
 Release:        0
 Summary:        A meta-build system that generates build files for Ninja
 License:        BSD-3-Clause
 URL:            https://gn.googlesource.com/
 Source0:        %{name}-%{version}.tar.xz
-Patch0:         deprecated_copy.patch
+Patch0:         redundant-move.patch
+BuildRequires:  ninja
+BuildRequires:  python3-base
 ExcludeArch:    ppc
 %if %{?suse_version} < 1550
 BuildRequires:  gcc12-c++
 %else
 BuildRequires:  gcc-c++
 %endif
-BuildRequires:  ninja
-BuildRequires:  python3-base
 
 %description
 GN is a meta-build system that generates build files for Ninja.
 
 %prep
-%autosetup -p1
+%setup -q
+%if 0%{?suse_version} > 1550
+%patch0 -p1
+%endif
 
 %build
 ARCH_FLAGS="`echo %{optflags} | sed -e 's/-O2//g'`"

++++++ _service ++++++
--- /var/tmp/diff_new_pack.zgn5N8/_old  2023-11-13 22:23:36.397546373 +0100
+++ /var/tmp/diff_new_pack.zgn5N8/_new  2023-11-13 22:23:36.401546520 +0100
@@ -2,7 +2,7 @@
   <service name="obs_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://gn.googlesource.com/gn.git</param>
-    <param name="revision">69ec4fca1fa69ddadae13f9e6b7507efa0675263</param>
+    <param name="revision">e4702d7409069c4f12d45ea7b7f0890717ca3f4b</param>
     <param name="versionformat">0.%cd</param>
     <param name="changesgenerate">enable</param>
   </service>
@@ -13,5 +13,4 @@
   </service>
   <service name="set_version" mode="manual"/>
 </services>
-(No newline at EOF)
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.zgn5N8/_old  2023-11-13 22:23:36.425547404 +0100
+++ /var/tmp/diff_new_pack.zgn5N8/_new  2023-11-13 22:23:36.429547551 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://gn.googlesource.com/gn.git</param>
-              <param 
name="changesrevision">69ec4fca1fa69ddadae13f9e6b7507efa0675263</param></service></servicedata>
+              <param 
name="changesrevision">e4702d7409069c4f12d45ea7b7f0890717ca3f4b</param></service></servicedata>
 (No newline at EOF)
 

++++++ gn-0.20210811.obscpio -> gn-0.20231023.obscpio ++++++
++++ 29417 lines of diff (skipped)

++++++ gn.obsinfo ++++++
--- /var/tmp/diff_new_pack.zgn5N8/_old  2023-11-13 22:23:36.841562721 +0100
+++ /var/tmp/diff_new_pack.zgn5N8/_new  2023-11-13 22:23:36.841562721 +0100
@@ -1,6 +1,5 @@
 name: gn
-version: 0.20210811
-mtime: 1628713047
-commit: 69ec4fca1fa69ddadae13f9e6b7507efa0675263
-
+version: 0.20231023
+mtime: 1698049206
+commit: e4702d7409069c4f12d45ea7b7f0890717ca3f4b
 

++++++ redundant-move.patch ++++++
[   75s] ../src/gn/desc_builder.cc: In member function 'base::Value 
{anonymous}::BaseDescBuilder::ToBaseValue(const Scope*)':
[   75s] ../src/gn/desc_builder.cc:180:21: error: redundant move in return 
statement [-Werror=redundant-move]
[   75s]   180 |     return std::move(res);
[   75s]       |            ~~~~~~~~~^~~~~
[   75s] ../src/gn/desc_builder.cc:180:21: note: remove 'std::move' call
[   75s] ../src/gn/desc_builder.cc: In instantiation of 'base::Value 
{anonymous}::BaseDescBuilder::ToBaseValue(const std::vector<T>&) [with T = 
Value]':
[   75s] ../src/gn/desc_builder.cc:194:27:   required from here
[   75s] ../src/gn/desc_builder.cc:171:25: error: redundant move in return 
statement [-Werror=redundant-move]
[   75s]   171 |     return std::move(res);
[   75s]       |                         ^
[   75s] ../src/gn/desc_builder.cc:171:25: note: remove 'std::move' call
[   75s] cc1plus: all warnings being treated as errors

Index: gn-0.20231023/src/gn/desc_builder.cc
===================================================================
--- gn-0.20231023.orig/src/gn/desc_builder.cc
+++ gn-0.20231023/src/gn/desc_builder.cc
@@ -168,7 +168,7 @@ class BaseDescBuilder {
     base::ListValue res;
     for (const auto& v : vector)
       res.GetList().emplace_back(ToBaseValue(v));
-    return std::move(res);
+    return res;
   }
 
   base::Value ToBaseValue(const Scope* scope) {
@@ -177,7 +177,7 @@ class BaseDescBuilder {
     scope->GetCurrentScopeValues(&map);
     for (const auto& v : map)
       res.SetKey(v.first, ToBaseValue(v.second));
-    return std::move(res);
+    return res;
   }
 
   base::Value ToBaseValue(const Value& val) {

Reply via email to