Require perl(locale) in perl-POSIX

If perl-locale was not installed, "perl -MPOSIX -e
'POSIX::strerror(0);'" never finished. POSIX::AUTOLOAD() compiles
"require locale;" defined in $reimpl{strerror}.
This commit is contained in:
Petr Písař 2023-05-16 11:58:11 +02:00
parent 27c8969138
commit 745f3da90d

View File

@ -108,7 +108,7 @@ License: GPL-1.0-or-later OR Artistic-1.0-Perl
Epoch: %{perl_epoch} Epoch: %{perl_epoch}
Version: %{perl_version} Version: %{perl_version}
# release number must be even higher, because dual-lived modules will be broken otherwise # release number must be even higher, because dual-lived modules will be broken otherwise
Release: 496%{?dist} Release: 497%{?dist}
Summary: Practical Extraction and Report Language Summary: Practical Extraction and Report Language
Url: https://www.perl.org/ Url: https://www.perl.org/
Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz
@ -3352,6 +3352,7 @@ Epoch: 0
Version: 2.03 Version: 2.03
Requires: %perl_compat Requires: %perl_compat
Requires: perl(Carp) Requires: perl(Carp)
Requires: perl(locale)
%if %{defined perl_bootstrap} %if %{defined perl_bootstrap}
%gendep_perl_POSIX %gendep_perl_POSIX
%endif %endif
@ -7008,6 +7009,9 @@ popd
# Old changelog entries are preserved in CVS. # Old changelog entries are preserved in CVS.
%changelog %changelog
* Tue May 16 2023 Petr Pisar <ppisar@redhat.com> - 4:5.36.1-497
- Require perl(locale) in perl-POSIX (bug #2207594)
* Mon Apr 24 2023 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.36.1-496 * Mon Apr 24 2023 Jitka Plesnikova <jplesnik@redhat.com> - 4:5.36.1-496
- 5.36.1 bump (see <https://metacpan.org/release/SHAY/perl-5.36.1/view/pod/perldelta.pod> - 5.36.1 bump (see <https://metacpan.org/release/SHAY/perl-5.36.1/view/pod/perldelta.pod>
or release notes or release notes