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.
This commit is contained in:
Michael Catanzaro 2021-06-17 10:59:07 -05:00
parent 1f79f05203
commit cd6f9cf9a9

View File

@ -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()