Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package distrobox for openSUSE:Factory 
checked in at 2026-03-04 21:11:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/distrobox (Old)
 and      /work/SRC/openSUSE:Factory/.distrobox.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "distrobox"

Wed Mar  4 21:11:25 2026 rev:31 rq:1336411 version:1.8.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/distrobox/distrobox.changes      2026-02-05 
18:06:08.794070174 +0100
+++ /work/SRC/openSUSE:Factory/.distrobox.new.561/distrobox.changes     
2026-03-04 21:11:30.676038520 +0100
@@ -1,0 +2,5 @@
+Sat Feb 28 21:29:03 UTC 2026 - Richard Rahl <[email protected]>
+
+- Add fix-distrobox-to-newer-zypper.patch, fixing bsc#1259032
+
+-------------------------------------------------------------------

New:
----
  fix-distrobox-to-newer-zypper.patch

----------(New B)----------
  New:
- Add fix-distrobox-to-newer-zypper.patch, fixing bsc#1259032
----------(New E)----------

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

Other differences:
------------------
++++++ distrobox.spec ++++++
--- /var/tmp/diff_new_pack.hiJ9Mx/_old  2026-03-04 21:11:31.380067399 +0100
+++ /var/tmp/diff_new_pack.hiJ9Mx/_new  2026-03-04 21:11:31.384067563 +0100
@@ -24,6 +24,8 @@
 URL:            https://github.com/89luca89/distrobox
 Source:         
https://github.com/89luca89/distrobox/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        distrobox.conf
+# https://github.com/89luca89/distrobox/pull/2007
+Patch0:         fix-distrobox-to-newer-zypper.patch
 Requires:       %{_bindir}/basename
 Requires:       %{_bindir}/find
 Requires:       %{_bindir}/grep

++++++ fix-distrobox-to-newer-zypper.patch ++++++
>From 21afad192b71dc84b3305403dee4bcc76bb8a64e Mon Sep 17 00:00:00 2001
From: dannyhpy <[email protected]>
Date: Tue, 24 Feb 2026 08:49:48 +0100
Subject: [PATCH] init: zypper: use drop-in config file if possible (#2007)

In openSUSE Tumbleweed, the /etc/zypp/zypp.conf is not present by
default anymore. The documentation[1] now suggests to maintain the
configuration using drop-in files in /etc/zypp/zypp.conf.d/

[1] https://manpages.opensuse.org/Tumbleweed/libzypp/zypp.conf.5.en.html
---
 distrobox-init | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/distrobox-init b/distrobox-init
index 2bd2a3c66a..fc42970cd1 100755
--- a/distrobox-init
+++ b/distrobox-init
@@ -1624,8 +1624,17 @@ setup_zypper()
        # poor out-of-the-box experience (e.g., when trying to run GUI apps).
        # So, let's enable them. For the same reason, we make sure we install
        # docs.
-       sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = false/g' 
/etc/zypp/zypp.conf
-       sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = no/g' 
/etc/zypp/zypp.conf
+       if [ -d /etc/zypp/zypp.conf.d ]; then
+               cat << EOF > /etc/zypp/zypp.conf.d/99-distrobox.conf
+[main]
+solver.onlyRequires = false
+rpm.install.excludedocs = no
+EOF
+       else
+               sed -i 's/.*solver.onlyRequires.*/solver.onlyRequires = 
false/g' /etc/zypp/zypp.conf
+               sed -i 's/.*rpm.install.excludedocs.*/rpm.install.excludedocs = 
no/g' /etc/zypp/zypp.conf
+       fi
+
        # With recommended packages, something might try to pull in
        # parallel-printer-support which can't be installed in rootless 
containers.
        # Since we very much likely never need it, just lock it

Reply via email to