diff --git a/dejagnu-1.6-runtest.patch b/dejagnu-1.6-runtest.patch new file mode 100644 index 0000000..aeefc38 --- /dev/null +++ b/dejagnu-1.6-runtest.patch @@ -0,0 +1,12 @@ +--- dejagnu-1.6.1/runtest.exp.orig 2017-10-16 07:43:20.000000000 -0400 ++++ dejagnu-1.6.1/runtest.exp 2021-08-11 10:54:51.172965763 -0400 +@@ -1601,8 +1601,7 @@ proc runtest { test_file_name } { + global testdir + + clone_output "Running $test_file_name ..." +- set prms_id 0 +- set bug_id 0 ++ reset_vars + set test_result "" + + # set testdir so testsuite file -test has a starting point diff --git a/dejagnu.spec b/dejagnu.spec index 4519e62..6eb1895 100644 --- a/dejagnu.spec +++ b/dejagnu.spec @@ -1,7 +1,7 @@ Summary: A front end for testing other programs Name: dejagnu Version: 1.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv3+ Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz @@ -13,6 +13,8 @@ BuildRequires: gcc-c++ BuildRequires: expect texinfo BuildRequires: make +Patch0: dejagnu-1.6-runtest.patch + %description DejaGnu is an Expect/Tcl based framework for testing other programs. DejaGnu has several purposes: to make it easy to write tests for any @@ -23,6 +25,7 @@ into software development). %prep %setup -q +%patch0 -p1 -b .runtest~ %build %configure -v @@ -58,6 +61,9 @@ install -D -m 644 doc/dejagnu.info $RPM_BUILD_ROOT/%{_infodir}/%{name}.info %{_infodir}/dejagnu* %changelog +* Wed Jan 19 2022 Marek Polacek - 1:1.6.3-2 +- re-re-apply dejagnu-1.6-runtest.patch (#2042478) + * Tue Jan 11 2022 Honza Horak - 1:1.6.3-1 - Rebase to 1.6.3 Resolves: #1954158