Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dnf5 for openSUSE:Factory checked in 
at 2026-06-11 17:25:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dnf5 (Old)
 and      /work/SRC/openSUSE:Factory/.dnf5.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dnf5"

Thu Jun 11 17:25:35 2026 rev:10 rq:1358499 version:5.4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dnf5/dnf5.changes        2026-02-21 
21:00:37.409600989 +0100
+++ /work/SRC/openSUSE:Factory/.dnf5.new.1981/dnf5.changes      2026-06-11 
17:25:57.890813943 +0200
@@ -1,0 +2,12 @@
+Sat Jun  6 22:47:23 UTC 2026 - Neal Gompa <[email protected]>
+
+- Update to 5.4.2.1
+  + 5.4.2.1 changelog: 
https://github.com/rpm-software-management/dnf5/releases/tag/5.4.2.1
+  + 5.4.2.0 changelog: 
https://github.com/rpm-software-management/dnf5/releases/tag/5.4.2.0
+  + 5.4.1.0 changelog: 
https://github.com/rpm-software-management/dnf5/releases/tag/5.4.1.0
+- Refresh patches
+  + dnf5-Use-usr-lib-sysimage-for-the-persistent-state-dir.patch
+  + dnf5-disable-Werror.patch
+- Add SUSE Linux family default settings
+
+-------------------------------------------------------------------

Old:
----
  dnf5-5.4.0.0.tar.gz

New:
----
  20-suse-defaults.conf
  dnf5-5.4.2.1.tar.gz

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

Other differences:
------------------
++++++ dnf5.spec ++++++
--- /var/tmp/diff_new_pack.yXnZ8z/_old  2026-06-11 17:25:58.566842456 +0200
+++ /var/tmp/diff_new_pack.yXnZ8z/_new  2026-06-11 17:25:58.570842625 +0200
@@ -78,13 +78,16 @@
 %global devcliname %{libcliprefix}-devel
 
 Name:           dnf5
-Version:        5.4.0.0
+Version:        5.4.2.1
 Release:        0
 Summary:        Next generation RPM package manager
 License:        GPL-2.0-or-later
 URL:            https://github.com/rpm-software-management/dnf5
 Source0:        %{url}/archive/%{version}/dnf5-%{version}.tar.gz
 
+# Distribution family defaults
+Source10:       20-suse-defaults.conf
+
 # Backports from upstream
 
 # Proposed upstream
@@ -323,8 +326,9 @@
 %dir %{_datadir}/bash-completion/
 %dir %{_datadir}/bash-completion/completions/
 %{_datadir}/bash-completion/completions/dnf*
+%dir %{_datadir}/zsh/site-functions
+%{_datadir}/zsh/site-functions/_dnf*
 %dir %{_prefix}/lib/sysimage/dnf
-%verify(not md5 size mtime) %ghost %{_prefix}/lib/sysimage/dnf/*
 %license COPYING.md
 %license gpl-2.0.txt
 %if %{with as_dnf}
@@ -423,8 +427,10 @@
 %verify(not md5 size mtime) %attr(0644, root, root) %ghost 
%{_prefix}/lib/sysimage/libdnf5/packages.toml
 %verify(not md5 size mtime) %attr(0644, root, root) %ghost 
%{_prefix}/lib/sysimage/libdnf5/system.toml
 %verify(not md5 size mtime) %attr(0644, root, root) %ghost 
%{_prefix}/lib/sysimage/libdnf5/transaction_history.sqlite{,-shm,-wal}
-%verify(not md5 size mtime) %attr(0664, root, root) %ghost 
%{_prefix}/lib/sysimage/libdnf5/system-repo.lock
+%dir %{_prefix}/lib/sysimage/dnf
+%verify(not md5 size mtime) %attr(0664, root, root) %ghost 
%{_prefix}/lib/sysimage/dnf/system-repo.lock
 %dir %{_datadir}/dnf5/libdnf.conf.d
+%{_datadir}/dnf5/libdnf.conf.d/20-suse-defaults.conf
 %dir %{_sysconfdir}/dnf/libdnf5.conf.d
 %dir %{_datadir}/dnf5/repos.override.d
 %dir %{_sysconfdir}/dnf/repos.override.d
@@ -784,7 +790,7 @@
 %if %{with dnf5_plugins}
 %package -n dnf5-plugins
 Summary:        Plugins for dnf5
-License:        LGPL-2.1-or-later
+License:        LGPL-2.1-or-later AND GPL-2.0-or-later
 Requires:       %{libcliname}%{?_isa} = %{version}-%{release}
 Requires:       dnf5%{?_isa} = %{version}-%{release}
 Requires:       libcurl4%{?_isa} >= %{libcurl_version}
@@ -931,16 +937,20 @@
 %cmake_install
 
 # own dirs and files that dnf5 creates on runtime
-mkdir -p %{buildroot}%{_prefix}/lib/sysimage/dnf
-for files in \
-    groups.toml modules.toml nevras.toml packages.toml \
-    system.toml transaction_history.sqlite \
-    transaction_history.sqlite-shm \
-    transaction_history.sqlite-wal userinstalled.toml \
-    system-repo.lock
+mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5
+for file in \
+    environments.toml groups.toml modules.toml nevras.toml packages.toml \
+    system.toml \
+    transaction_history.sqlite transaction_history.sqlite-shm \
+    transaction_history.sqlite-wal
 do
-    touch %{buildroot}%{_prefix}/lib/sysimage/dnf/$files
+    touch %{buildroot}%{_prefix}/lib/sysimage/libdnf5/$file
 done
+mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/comps_groups
+mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/offline
+touch %{buildroot}%{_sysconfdir}/dnf/versionlock.toml
+mkdir -p %{buildroot}%{_prefix}/lib/sysimage/dnf
+touch %{buildroot}%{_prefix}/lib/sysimage/dnf/system-repo.lock
 
 # own the offline transaction target
 mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/
@@ -983,25 +993,13 @@
 rm %{buildroot}%{_bindir}/dnf-automatic
 %endif
 
-# own dirs and files that dnf5 creates on runtime
-mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5
-for file in \
-    environments.toml groups.toml modules.toml nevras.toml packages.toml \
-    system.toml \
-    transaction_history.sqlite transaction_history.sqlite-shm \
-    transaction_history.sqlite-wal
-do
-    touch %{buildroot}%{_prefix}/lib/sysimage/libdnf5/$file
-done
-mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/comps_groups
-
-mkdir -p %{buildroot}%{_prefix}/lib/sysimage/libdnf5/offline
-touch %{buildroot}%{_sysconfdir}/dnf/versionlock.toml
-
 %if %{with as_yum}
 ln -sr %{buildroot}%{_bindir}/dnf5 %{buildroot}%{_bindir}/yum
 %endif
 
+# Install DNF 5 configuration defaults
+install -Dm0644 %{S:10} -t %{buildroot}%{_datadir}/dnf5/libdnf.conf.d/
+
 # Do not deliver polkit rule allowing privileged actions for wheel 
(bsc#1245451)
 rm -rf %{buildroot}%{_datadir}/polkit-1/rules.d
 

++++++ 20-suse-defaults.conf ++++++
[main]
allow_vendor_change=False
best=False
pkg_gpgcheck=True
repo_gpgcheck=True
skip_if_unavailable=True


++++++ dnf5-5.4.0.0.tar.gz -> dnf5-5.4.2.1.tar.gz ++++++
++++ 47261 lines of diff (skipped)

++++++ dnf5-Use-usr-lib-sysimage-for-the-persistent-state-dir.patch ++++++
--- /var/tmp/diff_new_pack.yXnZ8z/_old  2026-06-11 17:26:00.642930021 +0200
+++ /var/tmp/diff_new_pack.yXnZ8z/_new  2026-06-11 17:26:00.650930359 +0200
@@ -1,22 +1,20 @@
-From fabefa9f45bff103b644ea2a9c8c4d4c54eaeb45 Mon Sep 17 00:00:00 2001
+From c4eea3eea06e7ff8712c75e71d1ab1bf9b6a6585 Mon Sep 17 00:00:00 2001
 From: Neal Gompa <[email protected]>
-Date: Wed, 19 Jul 2023 08:07:52 -0400
+Date: Sat, 6 Jun 2026 19:05:33 -0400
 Subject: [PATCH] Use /usr/lib/sysimage for the persistent state directory
 
 This aligns us with the location where the RPM database is stored.
 ---
- doc/dnf5.8.rst                      | 2 +-
- include/libdnf5/conf/const.hpp      | 2 +-
- libdnf5/transaction/Swdb.cpp        | 2 +-
- libdnf5/transaction/Swdb.hpp        | 2 +-
- libdnf5/transaction/Transformer.cpp | 2 +-
- 5 files changed, 5 insertions(+), 5 deletions(-)
+ doc/dnf5.8.rst                 | 2 +-
+ doc/dnf5.conf.5.rst            | 2 +-
+ include/libdnf5/conf/const.hpp | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/doc/dnf5.8.rst b/doc/dnf5.8.rst
-index 6dc341cd..ee691780 100644
+index 9c8f2451..4fae3be8 100644
 --- a/doc/dnf5.8.rst
 +++ b/doc/dnf5.8.rst
-@@ -411,7 +411,7 @@ Files
+@@ -414,7 +414,7 @@ Files
      /etc/yum.repos.d/
  
  ``Repository Persistence``
@@ -25,6 +23,19 @@
  
  ``System State``
      /usr/lib/sysimage/libdnf5/
+diff --git a/doc/dnf5.conf.5.rst b/doc/dnf5.conf.5.rst
+index 10aff9b3..aa00df53 100644
+--- a/doc/dnf5.conf.5.rst
++++ b/doc/dnf5.conf.5.rst
+@@ -428,7 +428,7 @@ repository configuration file should aside from repo ID 
consists of baseurl, met
+ 
+     Directory where DNF5 stores its persistent data between runs.
+ 
+-    Default: ``/var/lib/dnf``.
++    Default: ``/usr/lib/sysimage/dnf``.
+ 
+ .. _pluginconfpath_options-label:
+ 
 diff --git a/include/libdnf5/conf/const.hpp b/include/libdnf5/conf/const.hpp
 index 2aa933fc..fcfed080 100644
 --- a/include/libdnf5/conf/const.hpp
@@ -38,46 +49,7 @@
  constexpr const char * SYSTEM_STATE_DIR = "/usr/lib/sysimage/libdnf5";
  constexpr const char * SYSTEM_CACHEDIR = "/var/cache/libdnf5";
  
-diff --git a/libdnf5/transaction/Swdb.cpp b/libdnf5/transaction/Swdb.cpp
-index 06b6cbb9..6acb692e 100644
---- a/libdnf5/transaction/Swdb.cpp
-+++ b/libdnf5/transaction/Swdb.cpp
-@@ -51,7 +51,7 @@ Swdb::Swdb(const std::string & path) : conn(nullptr), 
autoClose(true) {
-     } else if (!std::filesystem::exists(path.c_str())) {
-         // writing to a file that doesn't exist and must be created
- 
--        // extract persistdir from path - "/var/lib/dnf/"
-+        // extract persistdir from path - "/usr/lib/sysimage/dnf/"
-         auto found = path.find_last_of("/");
- 
-         Transformer transformer(path.substr(0, found), path);
-diff --git a/libdnf5/transaction/Swdb.hpp b/libdnf5/transaction/Swdb.hpp
-index e4bfcc07..e8f16a7b 100644
---- a/libdnf5/transaction/Swdb.hpp
-+++ b/libdnf5/transaction/Swdb.hpp
-@@ -54,7 +54,7 @@ public:
- 
-     // Database
-     // FIXME load this from conf
--    static constexpr const char * defaultPath = "/var/lib/dnf/history.sqlite";
-+    static constexpr const char * defaultPath = 
"/usr/lib/sysimage/dnf/history.sqlite";
-     static constexpr const char * defaultDatabaseName = "history.sqlite";
- 
-     const std::string & getPath() { return conn->get_path(); }
-diff --git a/libdnf5/transaction/Transformer.cpp 
b/libdnf5/transaction/Transformer.cpp
-index 52b25b68..dbb0f1eb 100644
---- a/libdnf5/transaction/Transformer.cpp
-+++ b/libdnf5/transaction/Transformer.cpp
-@@ -99,7 +99,7 @@ TransactionItemReason Transformer::getReason(const 
std::string & reason) {
- /**
-  * Default constructor of the Transformer object
-  * \param outputFile path to output SQLite3 database
-- * \param inputDir directory to load data from (e.g. `/var/lib/dnf/`)
-+ * \param inputDir directory to load data from (e.g. `/usr/lib/sysimage/dnf/`)
-  */
- Transformer::Transformer(const std::string & inputDir, const std::string & 
outputFile)
-     : inputDir(inputDir),
 -- 
-2.53.0
+2.54.0
 
 

++++++ dnf5-disable-Werror.patch ++++++
--- /var/tmp/diff_new_pack.yXnZ8z/_old  2026-06-11 17:26:00.678931539 +0200
+++ /var/tmp/diff_new_pack.yXnZ8z/_new  2026-06-11 17:26:00.682931708 +0200
@@ -1,4 +1,4 @@
-From e2b2876318611a8e99378e26630348492551c959 Mon Sep 17 00:00:00 2001
+From 2d7f098fd4bbebfb9461e5344dcd5a58748f0904 Mon Sep 17 00:00:00 2001
 From: Neal Gompa <[email protected]>
 Date: Tue, 12 Sep 2023 18:25:34 -0400
 Subject: [PATCH] cmake: Drop Werror from compile options
@@ -13,10 +13,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 47c842e7..9fe5204e 100644
+index 8e2b256a..869b4236 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -89,7 +89,7 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
+@@ -82,7 +82,7 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
  add_compile_options("-fmacro-prefix-map=${PROJECT_SOURCE_DIR}/=")
  
  # warnings
@@ -26,6 +26,6 @@
  add_compile_options(-Werror=unused-result -Wodr)
  
 -- 
-2.53.0
+2.54.0
 
 

Reply via email to