This commit is contained in:
parent
4edd1d8625
commit
00adedb686
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user