summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--t/02create_pkgs.t3
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 983c7a4d..8579e5ef 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- cpan_testers:
o BSD: prevent failing due to broken deps generator
o do not skip network tests on pre-UsrMove distros (eg: Mageia 2)
+ o fix running genhlist2 with the right perl version
o fix running testsuite with rpm-4.9
o fix testuite if glibc-static-devel isn't installed on Mageia 2
o needs URPM 5.28 for maximal portability
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index d585209f..65eec471 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -9,6 +9,9 @@ use Cwd;
set_path();
+# fix bundled genhdlist2 & co to use the right perl on CPAN smokers:
+system($^X, '-pi', '-e', qq(s@^#!/usr/bin/perl.*@#!$^X@), $_) foreach qw(gendistrib genhdlist2);
+
my $is_bsd = $Config{archname} =~ /bsd/;
warn ">> RPM version is: ", `LC_ALL=C rpm --version`, "\n";