This commit is contained in:
parent
4edd1d8625
commit
00adedb686
@ -100,6 +100,7 @@ Mailman -- the GNU mailing list manager
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
sed -i 's:/sbin:/usr/bin:' src/mailman/config/mailman.cfg
|
||||||
pushd src/mailman
|
pushd src/mailman
|
||||||
for i in $(grep -r '^from importlib_resources' | sed 's/\(.*\.py\):.*/\1/'); do
|
for i in $(grep -r '^from importlib_resources' | sed 's/\(.*\.py\):.*/\1/'); do
|
||||||
line=$(grep '^from importlib_resources' $i)
|
line=$(grep '^from importlib_resources' $i)
|
||||||
@ -109,7 +110,6 @@ done
|
|||||||
popd
|
popd
|
||||||
sed '/importlib_resources/d' -i src/mailman.egg-info/requires.txt setup.py
|
sed '/importlib_resources/d' -i src/mailman.egg-info/requires.txt setup.py
|
||||||
%python_build
|
%python_build
|
||||||
sed -i 's:/sbin:/usr/bin:' src/mailman/config/mailman.cfg
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user