Accepting request 1120014 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1120014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glib2?expand=0&rev=272
This commit is contained in:
Ana Guerrero 2023-10-25 16:02:13 +00:00 committed by Git OBS Bridge
commit 5062724c11
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Oct 24 08:22:09 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Use sed call to replace gio-querymodules with gio-querymodules-64
in gio-2.0.pc where appropiate.
-------------------------------------------------------------------
Wed Oct 11 09:38:15 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <scabrero@suse.de>

View File

@ -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
@ -315,6 +318,7 @@ ln -s %{_localstatedir}/cache/gio-2.0/gnome-mimeapps.list %{buildroot}%{_datadir
# gio-querymodules magic
%if "%{_lib}" == "lib64"
mv -T %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-64
sed -i -e "/^gio_querymodules=/s/gio-querymodules/gio-querymodules-64/" %{buildroot}%{_libdir}/pkgconfig/gio-2.0.pc
%endif
mkdir -p %{buildroot}%{_libdir}/gio/modules
>> %{buildroot}%{_libdir}/gio/modules/giomodule.cache