diff options
author | Ilya Palachev <i.palachev@samsung.com> | 2014-08-05 20:43:43 +0400 |
---|---|---|
committer | Ilya Palachev <i.palachev@samsung.com> | 2014-08-06 11:24:26 +0400 |
commit | 1be8d9a8d0522d67bad78572c6f218d4f5ac9f82 (patch) | |
tree | 7efffe5f475c0245863bbe3de1c8590783aafaf2 | |
parent | 811427acbd1eea9ee2031905e97d35e7c3461320 (diff) | |
download | rpmlint-mini-1be8d9a8d0522d67bad78572c6f218d4f5ac9f82.tar.gz rpmlint-mini-1be8d9a8d0522d67bad78572c6f218d4f5ac9f82.tar.bz2 rpmlint-mini-1be8d9a8d0522d67bad78572c6f218d4f5ac9f82.zip |
Enable Aarch64submit/tizen_ivi/20140902.000000submit/tizen_common/20140814.021031submit/tizen/20140812.112543accepted/tizen/common/20140827.143025
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>
-rw-r--r-- | packaging/rpmlint-mini.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/rpmlint-mini.spec b/packaging/rpmlint-mini.spec index a668cee..46fbf0c 100644 --- a/packaging/rpmlint-mini.spec +++ b/packaging/rpmlint-mini.spec @@ -111,6 +111,9 @@ export PYTHONPATH LD_LIBRARY_PATH $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 |