From ee2a2469250537587f29a86e23819b6d716193ea Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 22 Jun 2020 12:12:39 +0200 Subject: [PATCH] Update gio-2.0.pc with correct gio-querymodules name when renaming it https://bugzilla.redhat.com/show_bug.cgi?id=1849441 --- glib2.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/glib2.spec b/glib2.spec index 1f55435..7168b8b 100644 --- a/glib2.spec +++ b/glib2.spec @@ -1,6 +1,6 @@ Name: glib2 Version: 2.65.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library of handy utility functions License: LGPLv2+ @@ -114,7 +114,8 @@ chrpath --delete %{buildroot}%{_libdir}/*.so export PYTHONHASHSEED=0 %py_byte_compile %{__python3} %{buildroot}%{_datadir} -mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits} +mv %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits} +sed -i -e "/^gio_querymodules=/s/gio-querymodules/gio-querymodules-%{__isa_bits}/" %{buildroot}%{_libdir}/pkgconfig/gio-2.0.pc touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache @@ -216,6 +217,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/installed-tests %changelog +* Mon Jun 22 2020 Kalev Lember - 2.65.0-2 +- Update gio-2.0.pc with correct gio-querymodules name when renaming it + (#1849441) + * Mon Jun 22 2020 Kalev Lember - 2.65.0-1 - Update to 2.65.0