summaryrefslogtreecommitdiff
path: root/packaging/rpmlint.wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpmlint.wrapper')
-rw-r--r--packaging/rpmlint.wrapper11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/rpmlint.wrapper b/packaging/rpmlint.wrapper
new file mode 100644
index 0000000..23705b1
--- /dev/null
+++ b/packaging/rpmlint.wrapper
@@ -0,0 +1,11 @@
+#!/bin/sh
+if test -d /opt/testing/lib64; then
+ LD_LIBRARY_PATH=/opt/testing/lib64
+else
+ LD_LIBRARY_PATH=/opt/testing/lib
+fi
+PATH="/opt/testing/bin:$PATH"
+rpmlintdir="/opt/testing/share/rpmlint"
+PYTHONPATH="$rpmlintdir"
+export PYTHONPATH LD_LIBRARY_PATH
+exec /opt/testing/bin/python -tt -u -O "$rpmlintdir"/rpmlint.pyo -C "$rpmlintdir" -f "$rpmlintdir"/rpmlint-mini.config "$@"