Petr Gajdos 2019-11-21 12:29:05 +00:00 committed by Git OBS Bridge
parent 4edd1d8625
commit 00adedb686

View File

@ -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}