scripts/*.in: s|/usr/lib/rpm/|@RPMCONFIGDIR@/|g
This commit is contained in:
parent
5e023d62c1
commit
5b9096b561
@ -26,7 +26,7 @@ cd "$RPM_BUILD_ROOT"
|
||||
|
||||
if [ -n "$RPM_PYTHON" -a -x "$RPM_PYTHON" ] && [ `find -type f -name \*.py |wc -l` -gt 0 ]; then
|
||||
echo "Bytecompiling python modules in $PWD using $RPM_PYTHON"
|
||||
$RPM_PYTHON /usr/lib/rpm/python.compileall.py "--select=$RPM_PYTHON_COMPILE_METHOD" "--exclude=$RPM_PYTHON_COMPILE_EXCLUDE" "--include=$RPM_PYTHON_COMPILE_INCLUDE" "--deep=$RPM_PYTHON_COMPILE_DEEP" ${RPM_PYTHON_COMPILE_SKIP_X:+--skip_x} ${RPM_PYTHON_COMPILE_CLEAN:+--clean} "--prefix=$RPM_BUILD_ROOT"
|
||||
$RPM_PYTHON @RPMCONFIGDIR@/python.compileall.py "--select=$RPM_PYTHON_COMPILE_METHOD" "--exclude=$RPM_PYTHON_COMPILE_EXCLUDE" "--include=$RPM_PYTHON_COMPILE_INCLUDE" "--deep=$RPM_PYTHON_COMPILE_DEEP" ${RPM_PYTHON_COMPILE_SKIP_X:+--skip_x} ${RPM_PYTHON_COMPILE_CLEAN:+--clean} "--prefix=$RPM_BUILD_ROOT"
|
||||
echo "Bytecompiling python modules with optimization in $PWD using $RPM_PYTHON -O"
|
||||
$RPM_PYTHON -O /usr/lib/rpm/python.compileall.py "--select=$RPM_PYTHON_COMPILE_METHOD" "--exclude=$RPM_PYTHON_COMPILE_EXCLUDE" "--include=$RPM_PYTHON_COMPILE_INCLUDE" "--deep=$RPM_PYTHON_COMPILE_DEEP" ${RPM_PYTHON_COMPILE_SKIP_X:+--skip_x} ${RPM_PYTHON_COMPILE_CLEAN:+--clean} "--prefix=$RPM_BUILD_ROOT"
|
||||
$RPM_PYTHON -O @RPMCONFIGDIR@/python.compileall.py "--select=$RPM_PYTHON_COMPILE_METHOD" "--exclude=$RPM_PYTHON_COMPILE_EXCLUDE" "--include=$RPM_PYTHON_COMPILE_INCLUDE" "--deep=$RPM_PYTHON_COMPILE_DEEP" ${RPM_PYTHON_COMPILE_SKIP_X:+--skip_x} ${RPM_PYTHON_COMPILE_CLEAN:+--clean} "--prefix=$RPM_BUILD_ROOT"
|
||||
fi
|
||||
|
@ -4,7 +4,7 @@
|
||||
# commands, such as found in shell scripts, to rpm dependencies.
|
||||
#
|
||||
# Usage:
|
||||
# . /usr/lib/rpm/find-package
|
||||
# . @RPMCONFIGDIR@/find-package
|
||||
# FindPackage src [path...] [command...]
|
||||
#
|
||||
# Arguments:
|
||||
|
Loading…
Reference in New Issue
Block a user