diff --git a/glib2.spec b/glib2.spec index f93501c3644aaf7464f0901f0af5a579f5ed0a62..44317cb44f33f98b024122886117e1c3224b673a 100644 --- a/glib2.spec +++ b/glib2.spec @@ -55,8 +55,12 @@ 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 +%ifarch sw_64 +Requires: libgnutls.so.30 +%else Requires: libgnutls.so.30()(64bit) +%endif %else Requires: libgnutls.so.30 %endif