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:
parent
1f79f05203
commit
cd6f9cf9a9
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user