diff --git a/python-mailman.changes b/python-mailman.changes index 26b731f..ba1c9f4 100644 --- a/python-mailman.changes +++ b/python-mailman.changes @@ -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 diff --git a/python-mailman.spec b/python-mailman.spec index 0d10450..61a15aa 100644 --- a/python-mailman.spec +++ b/python-mailman.spec @@ -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)