From d19d8f8d5fddb49cd3de64a8cdb4795f0d8ffe72 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: May 31 2018 09:32:07 +0000 Subject: Another attempt to fix multiarch build __isa_bits seems to be defined in scratch build but not in ordinary build. --- diff --git a/libldb.spec b/libldb.spec index 3ea6804..f836259 100644 --- a/libldb.spec +++ b/libldb.spec @@ -187,7 +187,7 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %{_libdir}/libldb.so.* %{_libdir}/ldb/libldb-key-value.so # lmdb is not supported on 32 bit architectures -%if 0%{__isa_bits} == 64 +%if 0%{?__isa_bits} == 64 %{_libdir}/ldb/libldb-mdb-int.so %endif %dir %{_libdir}/ldb/modules