From 1cb70c34d0f208d585b985848440c1d0d8e851c0 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Mon, 25 Dec 2023 11:01:36 +0800 Subject: [PATCH] Fix install error due to flufl.i18n,flufl.lock upgrade --- mailman.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mailman.spec b/mailman.spec index e864c4a..b0097e3 100644 --- a/mailman.spec +++ b/mailman.spec @@ -7,7 +7,7 @@ Name: mailman Version: 3.3.8 -Release: 1 +Release: 2 Epoch: 3 Summary: The GNU mailing list manager License: GPLv3 @@ -81,6 +81,7 @@ BuildRequires: checkpolicy, selinux-policy-devel util-linux %{?systemd_requires} BuildRequires: systemd Requires(pre): shadow-utils +Requires: postfix %description This is GNU Mailman, a mailing list management system distributed under the @@ -90,6 +91,8 @@ case second `m'. Any other spelling is incorrect. %prep %autosetup -n %{pypi_name}-%{version} -p1 +sed -i 's/flufl.i18n/flufl-i18n/g' setup.py +sed -i 's/flufl.lock/flufl-lock/g' setup.py mkdir SELinux echo '%{_localstatedir}/lib/mailman3/data(/.*)? gen_context(system_u:object_r:etc_mail_t,s0)' \ > SELinux/mailman3.fc @@ -202,6 +205,9 @@ done %{_datadir}/selinux/*/mailman3.pp %changelog +* Mon Dec 25 2023 wangkai <13474090681@163.com> - 3:3.3.8-2 +- Fix install error due to flufl.i18n,flufl.lock upgrade + * Wed Sep 13 2023 liyanan - 3:3.3.8-1 - update to 3.3.8