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]f4dc9432fd
This commit is contained in:
parent
5507b1a187
commit
fe0920e128
16
git.spec
16
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ý <opohorel@redhat.com> - 2.33.1-2
|
||||
- add Perl requires to git-email
|
||||
- Resolves: rhbz#2020487
|
||||
|
||||
* Wed Oct 13 2021 Todd Zullinger <tmz@pobox.com> - 2.33.1-1
|
||||
- update to 2.33.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user