Created symlink /opt/testing/lib -> /opt/testing/lib64
This is done in case when macro %{_lib} is not equal "lib"
(it's the case during the aarch64 build).
Without this patch all builds for architecture aarch64 will fail
because rpmlint will not be able to start because of the following
error:
[ 199s] RPMLINT report:
[ 199s] ===============
[ 199s] qemu: Unsupported syscall: 219
[ 199s] Could not find platform independent libraries <prefix>
[ 199s] Could not find platform dependent libraries <exec_prefix>
[ 199s] Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
[ 199s] ImportError: No module named site
Change-Id: I746bbc149c1f4446442035ea7b26d80cc56189a8
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
$RPM_BUILD_ROOT/opt/testing/bin/python -tt -u -O $RPM_BUILD_ROOT/opt/testing/share/rpmlint/rpmlint.pyo --help || exit 1
echo ".. ok"
+if [ "x%{_lib}" != "xlib" ] ; then
+ ln -s /opt/testing/%{_lib} $RPM_BUILD_ROOT/opt/testing/lib
+fi
%files
%manifest %{name}.manifest