summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-01-09 14:23:05 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-01-09 14:24:21 +0900
commit297dbe3d0cb4a024eabd55b7dda47e6d7e65a0c6 (patch)
tree22e5886fcf6172de8badac43e5abfc33ee03d5ea
parent68c08b421a172b0b5c87e14b475c97faaf553de4 (diff)
downloadrpmlint-mini-297dbe3d0cb4a024eabd55b7dda47e6d7e65a0c6.tar.gz
rpmlint-mini-297dbe3d0cb4a024eabd55b7dda47e6d7e65a0c6.tar.bz2
rpmlint-mini-297dbe3d0cb4a024eabd55b7dda47e6d7e65a0c6.zip
Change-Id: I69ff84ddc2b29eec5db4bf2663db3ac4325ee24b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/rpmlint-mini.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpmlint-mini.spec b/packaging/rpmlint-mini.spec
index adeb8ee..eaae538 100644
--- a/packaging/rpmlint-mini.spec
+++ b/packaging/rpmlint-mini.spec
@@ -125,7 +125,7 @@ chmod +x %my_requires
%define __find_provides %nil
# final run check to detect python dep changes
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/opt/testing/%_lib
-PYTHONPATH=$RPM_BUILD_ROOT/opt/testing/share/rpmlint
+PYTHONPATH=%{_libdir}/python:%{py_libdir}:$RPM_BUILD_ROOT/opt/testing/share/rpmlint
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"