Petr Gajdos 2019-12-02 11:04:53 +00:00 committed by Git OBS Bridge
parent de524e3384
commit 297cac1163
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 2 10:47:14 UTC 2019 - pgajdos@suse.com
- call spec-cleaner
-------------------------------------------------------------------
Mon Dec 2 09:19:40 UTC 2019 - pgajdos@suse.com

View File

@ -31,7 +31,6 @@ Version: 3.3.0
Release: 0
Summary: Mailman -- the GNU mailing list manager
License: GPL-3.0-only
Group: Development/Languages/Python
URL: https://www.list.org
Source: https://files.pythonhosted.org/packages/source/m/mailman/mailman-%{version}.tar.gz
# whitespace fix
@ -101,7 +100,7 @@ Mailman -- the GNU mailing list manager
%patch0 -p1
%build
sed -i 's:/sbin:/usr/bin:' src/mailman/config/mailman.cfg
sed -i 's:/sbin:%{_prefix}/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)