set-x
echo'Simple arch_compat tests (between `uname -m`, rpmbuild, and rpm -i):'echo'diagnostics'uname-a||:
cat/proc/cpuinfo||:
LD_SHOW_AUXV=1/bin/echo||:
cat/etc/rpm/platform||:
rpm--eval%_host_cpu||:
rpm--eval%_arch||:
system_arch="$(rpm -q rpm --qf='%{ARCH}')"echo"...with a package built for the system rpm's arch ($system_arch):"/usr/share/rpminstall-tests/makeme.shTESTS=dummy_installableminimal_arch=TESTS_TARGET="$system_arch"/usr/share/rpminstall-tests/makeme.shclean
default_arch="$(rpmbuild --eval %_arch ||:)"echo"...with a package built for the machine's default arch ($default_arch):"/usr/share/rpminstall-tests/makeme.shTESTS=dummy_installableminimal_arch=||
case"$default_arch"in
arm*)
echo'ARM arch detection is not ideal in rpm-build;'echo'IGNORING THE FAILURE until better times.';;
*)
false
;;
esac
/usr/share/rpminstall-tests/makeme.shclean
echo'Simple test (to fail fast):'/usr/share/rpminstall-tests/makeme.shTESTS=dummy_installable
/usr/share/rpminstall-tests/makeme.shclean