!56 Fix install error due to flufl.i18n,flufl.lock upgrade
From: @wk333 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
5a3fe6f291
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
Name: mailman
|
Name: mailman
|
||||||
Version: 3.3.8
|
Version: 3.3.8
|
||||||
Release: 1
|
Release: 2
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
Summary: The GNU mailing list manager
|
Summary: The GNU mailing list manager
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
@ -81,6 +81,7 @@ BuildRequires: checkpolicy, selinux-policy-devel util-linux
|
|||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
Requires: postfix
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is GNU Mailman, a mailing list management system distributed under the
|
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
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version} -p1
|
%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
|
mkdir SELinux
|
||||||
echo '%{_localstatedir}/lib/mailman3/data(/.*)? gen_context(system_u:object_r:etc_mail_t,s0)' \
|
echo '%{_localstatedir}/lib/mailman3/data(/.*)? gen_context(system_u:object_r:etc_mail_t,s0)' \
|
||||||
> SELinux/mailman3.fc
|
> SELinux/mailman3.fc
|
||||||
@ -202,6 +205,9 @@ done
|
|||||||
%{_datadir}/selinux/*/mailman3.pp
|
%{_datadir}/selinux/*/mailman3.pp
|
||||||
|
|
||||||
%changelog
|
%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 <thistleslyn@163.com> - 3:3.3.8-1
|
* Wed Sep 13 2023 liyanan <thistleslyn@163.com> - 3:3.3.8-1
|
||||||
- update to 3.3.8
|
- update to 3.3.8
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user