From fe0920e1287f6981f05d91121d1e6a8d24b1fb54 Mon Sep 17 00:00:00 2001 From: Ondřej Pohořelský Date: Nov 11 2021 15:26:29 +0000 Subject: add Perl requires to git-email Resolves: rhbz#2020487 In git version 2.33.0, git-send-email.perl has optimized modules loading[1]. This resulted in perl.req not detecting requires properly, because it doesn't detect requires that are not at the start of new line. This commit adds explicit Requires into the spec file. [1]https://github.com/git/git/commit/f4dc9432fd287bde9100488943baf3c6a04d90d1 --- diff --git a/git.spec b/git.spec index 85cea81..04f5b52 100644 --- a/git.spec +++ b/git.spec @@ -80,7 +80,7 @@ Name: git Version: 2.33.1 -Release: 1%{?rcrev}%{?dist} +Release: 2%{?rcrev}%{?dist} Summary: Fast Version Control System License: GPLv2 URL: https://git-scm.com/ @@ -389,6 +389,16 @@ BuildArch: noarch Requires: git = %{version}-%{release} Requires: perl(Authen::SASL) Requires: perl(Net::SMTP::SSL) +Requires: perl(Cwd) +Requires: perl(File::Spec::Functions) +Requires: perl(File::Temp) +Requires: perl(Mail::Address) +Requires: perl(Net::Domain) +Requires: perl(Net::SMTP) +Requires: perl(POSIX) +Requires: perl(Term::ANSIColor) +Requires: perl(Term::ReadLine) +Requires: perl(Text::ParseWords) %description email %{summary}. @@ -988,6 +998,10 @@ rmdir --ignore-fail-on-non-empty "$testdir" %{?with_docs:%{_pkgdocdir}/git-svn.html} %changelog +* Thu Nov 11 2021 Ondřej Pohořelský - 2.33.1-2 +- add Perl requires to git-email +- Resolves: rhbz#2020487 + * Wed Oct 13 2021 Todd Zullinger - 2.33.1-1 - update to 2.33.1