Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libstorage-ng for openSUSE:Factory 
checked in at 2026-05-27 16:12:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Wed May 27 16:12:56 2026 rev:340 rq:1355208 version:4.5.328

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2026-05-21 18:27:00.813758372 +0200
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.1937/libstorage-ng.changes    
2026-05-27 16:13:07.527456386 +0200
@@ -1,0 +2,15 @@
+Tue May 26 14:57:05 UTC 2026 - [email protected]
+
+- merge gh#openSUSE/libstorage-ng#1078
+- update github actions
+- install git
+- 4.5.328
+
+--------------------------------------------------------------------
+Tue May 26 12:40:53 UTC 2026 - [email protected]
+
+- merge gh#openSUSE/libstorage-ng#1077
+- improve memory usage
+- 4.5.327
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.5.326.tar.xz

New:
----
  libstorage-ng-4.5.328.tar.xz

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

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.XAJzrt/_old  2026-05-27 16:13:08.475495551 +0200
+++ /var/tmp/diff_new_pack.XAJzrt/_new  2026-05-27 16:13:08.479495717 +0200
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.5.326
+Version:        4.5.328
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.5.326.tar.xz -> libstorage-ng-4.5.328.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-ng-4.5.326/.github/workflows/ci-fedora.yml 
new/libstorage-ng-4.5.328/.github/workflows/ci-fedora.yml
--- old/libstorage-ng-4.5.326/.github/workflows/ci-fedora.yml   2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/.github/workflows/ci-fedora.yml   2026-05-26 
16:57:05.000000000 +0200
@@ -10,13 +10,13 @@
     steps:
 
     - name: Install additional packages
-      run: dnf -y install autoconf automake awk boost-devel doxygen gcc-c++ 
gettext glibc-langpack-de glibc-langpack-fr glibc-langpack-en graphviz 
json-c-devel libtool libxml2-devel make python3-devel ruby-devel 
rubygem-test-unit swig xz
+      run: dnf -y install autoconf automake awk boost-devel doxygen gcc-c++ 
gettext glibc-langpack-de git glibc-langpack-fr glibc-langpack-en graphviz 
json-c-devel libtool libxml2-devel make python3-devel ruby-devel 
rubygem-test-unit swig xz
 
     - name: List installed packages
       run: rpm -qa | sort
 
     - name: Git checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v6
 
     - name: Configure
       run: make -f Makefile.repo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.326/.github/workflows/ci-leap.yml 
new/libstorage-ng-4.5.328/.github/workflows/ci-leap.yml
--- old/libstorage-ng-4.5.326/.github/workflows/ci-leap.yml     2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/.github/workflows/ci-leap.yml     2026-05-26 
16:57:05.000000000 +0200
@@ -10,13 +10,13 @@
     steps:
 
     - name: Install additional packages
-      run: zypper --non-interactive install --no-recommends autoconf automake 
doxygen gcc-c++ gettext-runtime glibc-locale graphviz libboost_headers-devel 
libboost_test-devel libjson-c-devel libtool libxml2-devel make python3-devel 
ruby-devel swig xz
+      run: zypper --non-interactive install --no-recommends autoconf automake 
doxygen gcc-c++ gettext-runtime git glibc-locale graphviz 
libboost_headers-devel libboost_test-devel libjson-c-devel libtool 
libxml2-devel make python3-devel ruby-devel swig xz
 
     - name: List installed packages
       run: rpm -qa | sort
 
     - name: Git checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v6
 
     - name: Configure
       run: make -f Makefile.repo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-ng-4.5.326/.github/workflows/ci-tumbleweed.yml 
new/libstorage-ng-4.5.328/.github/workflows/ci-tumbleweed.yml
--- old/libstorage-ng-4.5.326/.github/workflows/ci-tumbleweed.yml       
2026-05-20 11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/.github/workflows/ci-tumbleweed.yml       
2026-05-26 16:57:05.000000000 +0200
@@ -21,13 +21,13 @@
         elif [ "${{ matrix.compiler }}" = "clang" ]; then
           zypper --non-interactive install --no-recommends clang
         fi
-        zypper --non-interactive install --no-recommends autoconf automake awk 
doxygen gettext-runtime glibc-locale graphviz libboost_headers-devel 
libboost_test-devel libjson-c-devel libtool libxml2-devel make python3-devel 
ruby-devel swig xz
+        zypper --non-interactive install --no-recommends autoconf automake awk 
doxygen gettext-runtime git glibc-locale graphviz libboost_headers-devel 
libboost_test-devel libjson-c-devel libtool libxml2-devel make python3-devel 
ruby-devel swig xz
 
     - name: List installed packages
       run: rpm -qa | sort
 
     - name: Git checkout
-      uses: actions/checkout@v1
+      uses: actions/checkout@v6
 
     - name: Configure
       run: |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libstorage-ng-4.5.326/.github/workflows/codespell.yml 
new/libstorage-ng-4.5.328/.github/workflows/codespell.yml
--- old/libstorage-ng-4.5.326/.github/workflows/codespell.yml   2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/.github/workflows/codespell.yml   2026-05-26 
16:57:05.000000000 +0200
@@ -15,7 +15,7 @@
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
       - name: Codespell
-        # third-party so better use commit shasum (here of v2)
-        uses: 
codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461
+        # third-party so better use commit shasum (here of v2.2)
+        uses: 
codespell-project/actions-codespell@8f01853be192eb0f849a5c7d721450e7a467c579
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.326/VERSION 
new/libstorage-ng-4.5.328/VERSION
--- old/libstorage-ng-4.5.326/VERSION   2026-05-20 11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/VERSION   2026-05-26 16:57:05.000000000 +0200
@@ -1 +1 @@
-4.5.326
+4.5.328
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.326/storage/EnvironmentImpl.cc 
new/libstorage-ng-4.5.328/storage/EnvironmentImpl.cc
--- old/libstorage-ng-4.5.326/storage/EnvironmentImpl.cc        2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/storage/EnvironmentImpl.cc        2026-05-26 
16:57:05.000000000 +0200
@@ -21,7 +21,7 @@
  */
 
 
-#include <locale.h>
+#include <clocale>
 #include <langinfo.h>
 #include <libintl.h>
 #include <cstring>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.326/storage/Utils/SystemCmd.cc 
new/libstorage-ng-4.5.328/storage/Utils/SystemCmd.cc
--- old/libstorage-ng-4.5.326/storage/Utils/SystemCmd.cc        2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/storage/Utils/SystemCmd.cc        2026-05-26 
16:57:05.000000000 +0200
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2004-2015] Novell, Inc.
- * Copyright (c) [2016-2024] SUSE LLC
+ * Copyright (c) [2016-2026] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -80,25 +80,38 @@
     }
 
 
+    vector<string>::iterator
+    SystemCmd::Options::findenv(const char* name)
+    {
+       return find_if(envs.begin(), envs.end(), [name](const string& env) {
+           string::size_type pos = env.find("=");
+           return env.compare(0, pos, name) == 0;
+       });
+    }
+
+
     void
     SystemCmd::Options::setenv(const char* name, const char* value)
     {
        // Environment variables should be present only once in the environment.
        // 
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
 
-       unsetenv(name);
+       string tmp = string(name) + "=" + value;
 
-       envs.emplace_back(string(name) + "=" + value);
+       vector<string>::iterator it = findenv(name);
+       if (it != envs.end())
+           *it = tmp;
+       else
+           envs.push_back(std::move(tmp));
     }
 
 
     void
     SystemCmd::Options::unsetenv(const char* name)
     {
-       erase_if(envs, [name](const string& env) {
-           string::size_type pos = env.find("=");
-           return env.substr(0, pos) == name;
-       });
+       vector<string>::iterator it = findenv(name);
+       if (it != envs.end())
+           envs.erase(it);
     }
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.5.326/storage/Utils/SystemCmd.h 
new/libstorage-ng-4.5.328/storage/Utils/SystemCmd.h
--- old/libstorage-ng-4.5.326/storage/Utils/SystemCmd.h 2026-05-20 
11:25:28.000000000 +0200
+++ new/libstorage-ng-4.5.328/storage/Utils/SystemCmd.h 2026-05-26 
16:57:05.000000000 +0200
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) [2004-2015] Novell, Inc.
- * Copyright (c) [2016-2024] SUSE LLC
+ * Copyright (c) [2016-2026] SUSE LLC
  *
  * All Rights Reserved.
  *
@@ -134,6 +134,8 @@
 
            void init_envs();
 
+           vector<string>::iterator findenv(const char* name);
+
        };
 
 

Reply via email to