From 745f3da90de1c4b107752172031bb45b8b8bc632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Tue, 16 May 2023 11:58:11 +0200 Subject: [PATCH] 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}. --- perl.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index 51a0b16..d2baf1f 100644 --- a/perl.spec +++ b/perl.spec @@ -108,7 +108,7 @@ License: GPL-1.0-or-later OR Artistic-1.0-Perl Epoch: %{perl_epoch} Version: %{perl_version} # 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 Url: https://www.perl.org/ Source0: https://www.cpan.org/src/5.0/perl-%{perl_version}.tar.xz @@ -3352,6 +3352,7 @@ Epoch: 0 Version: 2.03 Requires: %perl_compat Requires: perl(Carp) +Requires: perl(locale) %if %{defined perl_bootstrap} %gendep_perl_POSIX %endif @@ -7008,6 +7009,9 @@ popd # Old changelog entries are preserved in CVS. %changelog +* Tue May 16 2023 Petr Pisar - 4:5.36.1-497 +- Require perl(locale) in perl-POSIX (bug #2207594) + * Mon Apr 24 2023 Jitka Plesnikova - 4:5.36.1-496 - 5.36.1 bump (see or release notes