From 954bc71d44c0a9e8970942c4b7bd6751df3db516db987928c9b7a5d74afbd203 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 17 Feb 2025 03:15:08 +0000 Subject: [PATCH] - Don't use %_libdir to discover where apache2 is living. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=23 --- python-pytest-server-fixtures.changes | 5 +++++ python-pytest-server-fixtures.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-pytest-server-fixtures.changes b/python-pytest-server-fixtures.changes index 46aeb0f..1113359 100644 --- a/python-pytest-server-fixtures.changes +++ b/python-pytest-server-fixtures.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 17 03:14:35 UTC 2025 - Steve Kowalik + +- Don't use %_libdir to discover where apache2 is living. + ------------------------------------------------------------------- Tue Feb 4 04:07:03 UTC 2025 - Steve Kowalik diff --git a/python-pytest-server-fixtures.spec b/python-pytest-server-fixtures.spec index 4e5cccd..5b5d15f 100644 --- a/python-pytest-server-fixtures.spec +++ b/python-pytest-server-fixtures.spec @@ -106,7 +106,7 @@ sed -i '/mod_mpm_prefork.so/d' pytest_server_fixtures/httpd.py %check export PATH=$HOME/bin:$PATH:%{_sbindir} -export SERVER_FIXTURES_HTTPD_MODULES=%{_libdir}/apache2/ +export SERVER_FIXTURES_HTTPD_MODULES=$(ls -1d /usr/lib*/apache2) export SERVER_FIXTURES_HTTPD=httpd export SERVER_FIXTURES_REDIS=%{_sbindir}/redis-server # gh#man-group/pytest-plugins#177