From 5c6f334f61d79d007e2ed68ef68e73cef52ca2e5 Mon Sep 17 00:00:00 2001 From: wxiat Date: Thu, 10 Aug 2023 16:53:43 +0800 Subject: [PATCH] sw20230810 --- glib2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glib2.spec b/glib2.spec index f93501c..44317cb 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 -- Gitee