From c3f2337e2a593f0af1f1da425d73548dce3e14c6 Mon Sep 17 00:00:00 2001 From: bdubbs Date: Sat, 7 Jul 2018 04:30:13 +0000 Subject: [PATCH] Ensure references to python minor version are correct git-svn-id: svn://svn.linuxfromscratch.org/LFS/trunk@11434 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- BOOK/chapter06/meson.xml | 6 +++--- BOOK/chapter06/python.xml | 10 +++++----- BOOK/packages.ent | 1 + 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/BOOK/chapter06/meson.xml b/BOOK/chapter06/meson.xml index 884ce847d..fed402f46 100644 --- a/BOOK/chapter06/meson.xml +++ b/BOOK/chapter06/meson.xml @@ -52,9 +52,9 @@ At last, move Meson man pages to correct location: -mv -v /usr/lib/python3.7/site-packages/meson-&meson-version;-py3.7.egg/share/man/man1/*.1 \ +mv -v /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg/share/man/man1/*.1 \ /usr/share/man/man1 -rm -r /usr/lib/python3.7/site-packages/meson-&meson-version;-py3.7.egg/share +rm -r /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg/share @@ -68,7 +68,7 @@ rm -r /usr/lib/python3.7/site-packages/meson-&meson-version;-py3.7.egg/share meson, mesonconf, mesonintrospect, mesontest, and wraptool - /usr/lib/python3.7/site-packages/meson-&meson-version;-py3.7.egg + /usr/lib/python&python-minor;/site-packages/meson-&meson-version;-py&python-minor;.egg diff --git a/BOOK/chapter06/python.xml b/BOOK/chapter06/python.xml index 3aafa110e..e044f339f 100644 --- a/BOOK/chapter06/python.xml +++ b/BOOK/chapter06/python.xml @@ -89,14 +89,14 @@ Install the package: make install -chmod -v 755 /usr/lib/libpython3.7m.so +chmod -v 755 /usr/lib/libpython&python-minor;m.so chmod -v 755 /usr/lib/libpython3.so The meaning of the install commands: - + - chmod -v 755 /usr/lib/libpython3.{6m.,}so + chmod -v 755 /usr/lib/libpython3.{7m.,}so Fix permissions for libraries to be consistent with other libraries. @@ -145,10 +145,10 @@ tar --strip-components=1 \ 2to3, idle3, pydoc3, python3, python3-config, pyvenv - libpython3.6m.so and libpython3.so + libpython&python-minor;m.so and libpython3.so - /usr/include/python3.6m, /usr/lib/python3 and + /usr/include/python&python-minor;m, /usr/lib/python3 and /usr/share/doc/python-&python-version; diff --git a/BOOK/packages.ent b/BOOK/packages.ent index 4a2fba1b2..f1c324b4d 100644 --- a/BOOK/packages.ent +++ b/BOOK/packages.ent @@ -568,6 +568,7 @@ meson pages will be needed: python3.6 and python3.6m --> + -- 2.11.4.GIT