Backport: Fix test suite under Perl 5.26
Make the test suite work properly now that "." is no longer in @INC Resolves: RHEL-47138
This commit is contained in:
parent
0a947575b5
commit
47a2af0aeb
25
0001-Fix-test-suite-with-modern-Perl.patch
Normal file
25
0001-Fix-test-suite-with-modern-Perl.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From dfb0659b205e03af62542cd318a9f3253e28c40a Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Colascione <dancol@dancol.org>
|
||||
Date: Sun, 4 Mar 2018 13:36:55 -0800
|
||||
Subject: [PATCH] Fix test suite with modern Perl
|
||||
|
||||
---
|
||||
tests/tools.at | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/tools.at b/tests/tools.at
|
||||
index 31d4aadb..4ee916af 100644
|
||||
--- a/tests/tools.at
|
||||
+++ b/tests/tools.at
|
||||
@@ -1290,7 +1290,7 @@ do
|
||||
funny=`func_sanitize_file_name "$funny"`
|
||||
file=" file $funny"
|
||||
dir=`func_sanitize_dir_name " dir $funny"`
|
||||
- TMPDIR=" tmp$dir"
|
||||
+ TMPDIR="./ tmp$dir"
|
||||
export TMPDIR
|
||||
|
||||
# skip if we cannot create such a file or directory
|
||||
--
|
||||
2.47.0
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
Summary: A GNU tool for automatically configuring source code
|
||||
Name: autoconf
|
||||
Version: 2.69
|
||||
Release: 39%{?dist}
|
||||
Release: 40%{?dist}
|
||||
License: GPLv2+ and GFDL
|
||||
Source0: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
|
||||
Source1: config.site
|
||||
@ -20,6 +20,9 @@ Patch3: autoconf-2.69-backport-runstatedir-option.patch
|
||||
# Backport: see RHEL-40739
|
||||
Patch4: 0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch
|
||||
|
||||
# Backport: see RHEL-47138
|
||||
Patch5: 0001-Fix-test-suite-with-modern-Perl.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
@ -129,6 +132,9 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Nov 27 2024 Frederic Berat <fberat@redhat.com> - 2.69-40
|
||||
- Fix test suite under Perl 5.26 (RHEL-47138)
|
||||
|
||||
* Tue Jun 11 2024 Frederic Berat <fberat@redhat.com> - 2.69-39
|
||||
- Fix issues with Fortran detection and oneAPI HPC Toolkit (RHEL-40739)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user