Normalize "#!/perl" shebangs in the tests

This commit is contained in:
Petr Písař 2020-03-27 16:48:27 +01:00
parent 7197e48705
commit 5950f9b5f4
1 changed files with 2 additions and 1 deletions

View File

@ -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 <jplesnik@redhat.com> - 4:5.30.2-452
- 5.30.2 bump (see <https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perldelta.pod>