public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Update gio-2.0.pc with correct gio-querymodules name when renaming it
@ 2026-08-11 10:37 Kalev Lember
  0 siblings, 0 replies; only message in thread
From: Kalev Lember @ 2026-08-11 10:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/glib2
            Branch : cve-2026-58016-f44
            Commit : ee2a2469250537587f29a86e23819b6d716193ea
            Author : Kalev Lember <klember@redhat.com>
            Date   : 2020-06-22T12:12:39+02:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib2/c/ee2a2469250537587f29a86e23819b6d716193ea?branch=cve-2026-58016-f44

            Log:
            Update gio-2.0.pc with correct gio-querymodules name when renaming it

https://bugzilla.redhat.com/show_bug.cgi?id=1849441

---
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 <klember@redhat.com> - 2.65.0-2
+- Update gio-2.0.pc with correct gio-querymodules name when renaming it
+  (#1849441)
+
 * Mon Jun 22 2020 Kalev Lember <klember@redhat.com> - 2.65.0-1
 - Update to 2.65.0
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:37 [rpms/glib2] cve-2026-58016-f44: Update gio-2.0.pc with correct gio-querymodules name when renaming it Kalev Lember

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox