From 00adedb6867d5dfa4781ecd4116ee5edadd27ae8506582bd1880145190cfe99a Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 21 Nov 2019 12:29:05 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman?expand=0&rev=14 --- python-mailman.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-mailman.spec b/python-mailman.spec index 5166d38..419cee6 100644 --- a/python-mailman.spec +++ b/python-mailman.spec @@ -100,6 +100,7 @@ Mailman -- the GNU mailing list manager %patch0 -p1 %build +sed -i 's:/sbin:/usr/bin:' src/mailman/config/mailman.cfg pushd src/mailman for i in $(grep -r '^from importlib_resources' | sed 's/\(.*\.py\):.*/\1/'); do line=$(grep '^from importlib_resources' $i) @@ -109,7 +110,6 @@ done popd sed '/importlib_resources/d' -i src/mailman.egg-info/requires.txt setup.py %python_build -sed -i 's:/sbin:/usr/bin:' src/mailman/config/mailman.cfg %install %if !%{with test}