public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Check if __isa_bits is defined so we don't fail when building the SRPM
@ 2026-08-11 10:37 Michael Catanzaro
  0 siblings, 0 replies; only message in thread
From: Michael Catanzaro @ 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 : cd6f9cf9a9b53c3a65e6cd7c6156ac0ddd05632c
            Author : Michael Catanzaro <mcatanzaro@redhat.com>
            Date   : 2021-06-17T10:59:07-05:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib2/c/cd6f9cf9a9b53c3a65e6cd7c6156ac0ddd05632c?branch=cve-2026-58016-f44

            Log:
            Check if __isa_bits is defined so we don't fail when building the SRPM

I tested this with a local mockbuild, but koji has a separate stage for
building the RPM where __isa_bits is not defined.

---
diff --git a/glib2.spec b/glib2.spec
index a45ca6e..9442341 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -44,7 +44,7 @@ BuildRequires: python3-devel
 # For gnutls-hmac.patch. We now dlopen libgnutls.so.30 so that we can build a
 # static glib2 without depending on a static build of GnuTLS as well. This will
 # ensure we notice if the GnuTLS soname bumps, so that we can update our patch.
-%if 0%{__isa_bits} == 64
+%if 0%{?__isa_bits} == 64
 Requires: libgnutls.so.30()(64bit)
 %else
 Requires: libgnutls.so.30()

^ 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: Check if __isa_bits is defined so we don't fail when building the SRPM Michael Catanzaro

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