From b44b18ea82af5df3595f0e6ef60519ee781254d6 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Apr 14 2020 13:15:48 +0000 Subject: Revert "Aditional fix of string quoting for rpm >= 4.16" This reverts commit 8e28ecd51138c15bb2f74877978e93fc7f450696. Reasoning: The partentheses must be around both (the macro and "64") or none, so it will be the same type comparsion (number-number || string-string) --- diff --git a/mariadb.spec b/mariadb.spec index 10c1bfb..8b5c8d5 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1025,7 +1025,7 @@ rm %{buildroot}%{logrotateddir}/mysql rm -r %{buildroot}%{_datadir}/%{pkg_name}/policy/apparmor # Buildroot does not have symlink /lib64 --> /usr/lib64 -%if "%{__isa_bits}" == 64 && 0%{?fedora} +%if %{__isa_bits} == 64 && 0%{?fedora} mv %{buildroot}/lib64/security %{buildroot}%{_libdir} %else mv %{buildroot}/lib/security %{buildroot}%{_libdir} @@ -1160,7 +1160,7 @@ rm %{buildroot}%{_mandir}/man1/{mysql_,mariadb-}ldb.1* # hack to let 32- and 64-bit tests run concurrently on same build machine export MTR_PARALLEL=1 # builds might happen at the same host, avoid collision -export MTR_BUILD_THREAD="%{__isa_bits}" +export MTR_BUILD_THREAD=%{__isa_bits} # The cmake build scripts don't provide any simple way to control the # options for mysql-test-run, so ignore the make target and just call it