From 3a884e4af31574b8d88afe4911dfc86e55d22aee Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 28 Aug 2017 17:38:51 +0200 Subject: [PATCH] Make module removal (unbundling) more strict Failures from removing bundled expat or zlib should not be silent; if they occur they should be investigated. Also, reword the comments for conciseness --- python3.spec | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/python3.spec b/python3.spec index d0d2451..aa803a5 100644 --- a/python3.spec +++ b/python3.spec @@ -586,13 +586,9 @@ cp -a %{SOURCE6} . cp -a %{SOURCE7} . %endif # with systemtap -# Ensure that we're using the system copy of various libraries, rather than -# copies shipped by upstream in the tarball: -# Remove embedded copy of expat: -rm -r Modules/expat || exit 1 - -# Remove embedded copy of zlib: -rm -r Modules/zlib || exit 1 +# Remove bundled libraries to ensure that we're using the system copy. +rm -r Modules/expat +rm -r Modules/zlib ## Disabling hashlib patch for now as it needs to be reimplemented ## for OpenSSL 1.1.0.