From 2bcf353cf5f35571ca16e177b782247303068458 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 15 Nov 2023 04:22:39 +0000 Subject: [PATCH] import UBI mod_wsgi-4.7.1-7.module+el8.9.0+19644+d68f775d --- SOURCES/mod_wsgi-4.7.1-remove-rpath.patch | 20 ++++++++++++++++++++ SPECS/mod_wsgi.spec | 11 ++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 SOURCES/mod_wsgi-4.7.1-remove-rpath.patch diff --git a/SOURCES/mod_wsgi-4.7.1-remove-rpath.patch b/SOURCES/mod_wsgi-4.7.1-remove-rpath.patch new file mode 100644 index 0000000..3996382 --- /dev/null +++ b/SOURCES/mod_wsgi-4.7.1-remove-rpath.patch @@ -0,0 +1,20 @@ +diff --git a/setup.py b/setup.py +index bf272ba..824957d 100644 +--- a/setup.py ++++ b/setup.py +@@ -465,15 +465,6 @@ EXTRA_COMPILE_FLAGS = (EXTRA_INCLUDES + CPPFLAGS + EXTRA_CPPFLAGS + + CFLAGS + EXTRA_CFLAGS + APR_INCLUDES + APU_INCLUDES) + EXTRA_LINK_ARGS = PYTHON_LDFLAGS + PYTHON_LDLIBS + +-# Force adding of LD_RUN_PATH for platforms that may need it. +- +-if os.name != 'nt': +- LD_RUN_PATH = os.environ.get('LD_RUN_PATH', '') +- LD_RUN_PATH += ':%s:%s' % (PYTHON_LIBDIR, PYTHON_CFGDIR) +- LD_RUN_PATH = LD_RUN_PATH.lstrip(':') +- +- os.environ['LD_RUN_PATH'] = LD_RUN_PATH +- + # On MacOS X, recent versions of Apple's Apache do not support compiling + # Apache modules with a target older than 10.8. This is because it + # screws up Apache APR % formats for apr_time_t, which breaks daemon diff --git a/SPECS/mod_wsgi.spec b/SPECS/mod_wsgi.spec index 29463c8..247a9a7 100644 --- a/SPECS/mod_wsgi.spec +++ b/SPECS/mod_wsgi.spec @@ -15,7 +15,7 @@ Name: mod_wsgi Version: 4.7.1 -Release: 5%{?dist} +Release: 7%{?dist} Summary: A WSGI interface for Python web applications in Apache License: ASL 2.0 URL: https://modwsgi.readthedocs.io/ @@ -24,6 +24,7 @@ Source1: wsgi.conf Source2: wsgi-python3.conf Patch1: mod_wsgi-4.5.20-exports.patch Patch2: mod_wsgi-4.9.1-request-limit.patch +Patch3: mod_wsgi-4.7.1-remove-rpath.patch # Exclude i686 arch. Due to a modularity issue it's being added to the # x86_64 compose of CRB, but we don't want to ship it at all. @@ -178,6 +179,14 @@ ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express %endif %changelog +* Fri Jul 14 2023 Charalampos Stratakis - 4.7.1-7 +- Bump release for rebuild +Resolves: rhbz#2213595 + +* Thu Jul 13 2023 Charalampos Stratakis - 4.7.1-6 +- Remove rpath +Resolves: rhbz#2213837 + * Thu Sep 08 2022 Lumír Balhar - 4.7.1-5 - Core dumped upon file upload >= 1GB Resolves: rhbz#2125172