From bc8ea91e7589d293f908ffb7dda937e1ea0dd681 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Fri, 18 Jun 2021 12:10:58 +0300 Subject: [PATCH] rpath: opt out until Python distutils.build_ext is fixed Python's distutils.build_ext injects standard rpath into library rpaths during compilation. This cannot be fixed at the module side. Signed-off-by: Alexander Bokovoy --- mod_wsgi.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod_wsgi.spec b/mod_wsgi.spec index a7b82f2..d4e6938 100644 --- a/mod_wsgi.spec +++ b/mod_wsgi.spec @@ -1,3 +1,8 @@ +# Python's distutils.build_ext injects standard rpath +# and a package used it cannot control that. +# Opt-out of rpath checks until Python is fixed +%global __brp_check_rpaths %{nil} + %{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}} %{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}}