From 52f684a8ea96a049ab61ba3321bc4ba8d49d123902c58d6779da6afddac17f56 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 11 Oct 2023 11:43:33 +0000 Subject: [PATCH] Accepting request 1116876 from GNOME:Next - Require /usr/bin/dbus-daemon by the devel package: GDBusTest launches an own dbus-daemon with a separate environment, so that test code does not have to rely on the session bus. Ensure consumers of GDBusTest have the needed dep present. - Change the dbus-launch Requires to %{_bindir}/dbus-launch: be flexible about potential future package layout changes. OBS-URL: https://build.opensuse.org/request/show/1116876 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=525 --- glib2.changes | 10 ++++++++++ glib2.spec | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/glib2.changes b/glib2.changes index 6f6b498..6e6298b 100644 --- a/glib2.changes +++ b/glib2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Oct 11 09:38:15 UTC 2023 - Dominique Leuenberger + +- Require /usr/bin/dbus-daemon by the devel package: GDBusTest + launches an own dbus-daemon with a separate environment, so that + test code does not have to rely on the session bus. Ensure + consumers of GDBusTest have the needed dep present. +- Change the dbus-launch Requires to %{_bindir}/dbus-launch: be + flexible about potential future package layout changes. + ------------------------------------------------------------------- Thu Sep 28 07:40:17 UTC 2023 - Samuel Cabrero diff --git a/glib2.spec b/glib2.spec index de3582e..50fc6a5 100644 --- a/glib2.spec +++ b/glib2.spec @@ -149,6 +149,9 @@ Requires: glibc-devel Requires: pkgconfig # Required by gdbus-codegen Requires: python3-xml +# GDbusTest launches dbus-daemon with a special env to not interfere with +# the real session bus. +Requires: %{_bindir}/dbus-daemon # %description devel @@ -202,7 +205,7 @@ Group: System/Libraries #!BuildIgnore: shared-mime-info Requires: %{name}-tools # bnc#678518: libgio interacts with others by means of dbus-launch -Requires: dbus-launch +Requires: %{_bindir}/dbus-launch Requires: gio-branding = %{version} Requires: shared-mime-info # Needed for branding packages