From f863679c659cb3930c99c1b689df02e182ccea08 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Feb 25 2021 11:14:43 +0000 Subject: Manually --- diff --git a/perl-CPAN-FindDependencies.spec b/perl-CPAN-FindDependencies.spec index d349f30..dcc723e 100644 --- a/perl-CPAN-FindDependencies.spec +++ b/perl-CPAN-FindDependencies.spec @@ -71,6 +71,8 @@ Summary: Tests for %{name} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: coreutils Requires: perl-Test-Harness +# t/cpandeps-script.t executes t/cache/Tie-Scalar-Decay-1.1.1/Tie-Scalar-Decay-1.1.1.MakefilePL +Requires: perl(ExtUtils::MakeMaker) %description tests Tests from %{name}. Execute them @@ -90,7 +92,7 @@ for F in \ perl -i -ne 'print $_ unless m{\A\Q'"$F"'\E}' MANIFEST done # Help generators to recognize Perl scripts -for F in t/*.t t/cache/Tie-Scalar-Decay-1.1.1/Tie-Scalar-Decay-1.1.1.MakefilePL; do +for F in t/*.t; do perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F" chmod +x "$F" done