From 5950f9b5f4f955219557bcfc7c8365ab9f72b349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 27 Mar 2020 16:48:27 +0100 Subject: [PATCH] Normalize "#!/perl" shebangs in the tests --- perl.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl.spec b/perl.spec index 0b1bae1..d52f817 100644 --- a/perl.spec +++ b/perl.spec @@ -4721,7 +4721,7 @@ done # Normalize shell bangs in tests. # brp-mangle-shebangs executed by rpm-build chokes on t/TEST. %{new_perl} -MConfig -i -pn \ - -e 's"\A#!(?:perl|\./perl|/usr/bin/perl|/usr/bin/env perl)\b"$Config{startperl}"' \ + -e 's"\A#!(?:perl|\./perl|/perl|/usr/bin/perl|/usr/bin/env perl)\b"$Config{startperl}"' \ $(find %{buildroot}%{perl5_testdir}/perl-tests -type f) %if %{with perl_enables_systemtap} @@ -7232,6 +7232,7 @@ popd - Close :unix PerlIO layers properly - Fix sorting tied arrays (GH#17496) - Fix a spurious warning about a multidimensional syntax (GH#16535) +- Normalize "#!/perl" shebangs in the tests * Mon Mar 16 2020 Jitka Plesnikova - 4:5.30.2-452 - 5.30.2 bump (see