From 62643ed4460a71a3327eec59d4abead070dcbf54 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 14 Dec 2018 11:18:08 +0000 Subject: [PATCH] create-mkspec.sh: Exit 0 at the end of install section Cut short CentOS magic appended to %install scriptlet, which would generates .pyo files and other cruft. See also https://stackoverflow.com/questions/30317213 Signed-off-by: Jan Lindemann --- scripts/create-mkspec.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/create-mkspec.sh b/scripts/create-mkspec.sh index 191dc4bf..4f1d0b4c 100644 --- a/scripts/create-mkspec.sh +++ b/scripts/create-mkspec.sh @@ -92,6 +92,7 @@ _cat <<- EOT |echo "make install" |echo "export PATH=$MOD_SCRIPT_DIR:\\\$PATH" |echo "/bin/bash pkg.sh milk-install-log -p \\\$ENV_PREFIX -n \$NAME -t rpm -s \\"$subpackages\\" \$INSTALL_LOG \`dirname \$INSTALL_LOG\`" + |echo "exit 0" # <- Cut short CentOS magic appended to install scriptlet, which would generate .pyo files and other cruft. EOT for p in $subpackages; do