Another attempt to fix multiarch build

__isa_bits seems to be defined in scratch build but not in ordinary
build.
This commit is contained in:
Lukas Slebodnik 2018-05-31 11:32:07 +02:00
parent 3370424e7f
commit d19d8f8d5f

View File

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