From c4f8fda826f8e8eb4d5d6d1e68cb86d1e49a8c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Sat, 2 Jul 2022 14:01:27 +0100 Subject: [PATCH] Mail::Box::Manager, Mail::Sendmail and Compress::Zlib is only needed for podebconf-report, if program needs the perl module and it is not installed, it will send a warning, so these perl modules are optional. --- po-debconf.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/po-debconf.spec b/po-debconf.spec index 6246ac8..86f3b75 100644 --- a/po-debconf.spec +++ b/po-debconf.spec @@ -14,7 +14,7 @@ Name: po-debconf Version: 1.0.21 -Release: 8%{release_posttag}%{?dist} +Release: 9%{release_posttag}%{?dist} Summary: Tool for managing templates file translations with gettext License: GPLv2+ @@ -42,9 +42,15 @@ Requires: intltool Requires: gettext # Debian optional run-time features +%if 0%{?rhel} && 0%{?rhel} <= 7 Requires: perl(Compress::Zlib) Requires: perl(Mail::Sendmail) Requires: perl(Mail::Box::Manager) +%else +Recommends: perl(Compress::Zlib) +Recommends: perl(Mail::Sendmail) +Recommends: perl(Mail::Box::Manager) +%endif %description @@ -112,6 +118,11 @@ ln -s ../bin %{buildroot}%{_datadir}/intltool-debian %{_datadir}/intltool-debian %changelog +* Sat Jul 02 2022 Sérgio Basto - 1.0.21-9.nmu1 +- Mail::Box::Manager, Mail::Sendmail and Compress::Zlib is only needed for + podebconf-report, if program needs the perl module and it is not installed, + it will send a warning, so these perl modules are optional. + * Fri Jan 21 2022 Fedora Release Engineering - 1.0.21-8.nmu1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild