import dejagnu-1.6.3-2.el9

This commit is contained in:
CentOS Sources 2022-03-01 08:24:25 -05:00 committed by Stepan Oksanichenko
parent 09a11e8dcc
commit 7ee1dc15ca
4 changed files with 18 additions and 12 deletions

View File

@ -1 +1 @@
ba903ad48b122a09c5ed2762ac6854ec7f6d3338 SOURCES/dejagnu-1.6.1.tar.gz 390b586609bb23c807218eda493f428c4a913bc1 SOURCES/dejagnu-1.6.3.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/dejagnu-1.6.1.tar.gz SOURCES/dejagnu-1.6.3.tar.gz

View File

@ -1,7 +1,7 @@
--- dejagnu-1.6.1/runtest.exp.orig 2017-10-16 07:43:20.000000000 -0400 --- 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 +++ dejagnu-1.6.1/runtest.exp 2021-08-11 10:54:51.172965763 -0400
@@ -1444,8 +1444,7 @@ proc runtest { test_file_name } { @@ -1601,8 +1601,7 @@ proc runtest { test_file_name } {
global tool global testdir
clone_output "Running $test_file_name ..." clone_output "Running $test_file_name ..."
- set prms_id 0 - set prms_id 0
@ -9,4 +9,4 @@
+ reset_vars + reset_vars
set test_result "" set test_result ""
if {[file exists $test_file_name]} { # set testdir so testsuite file -test has a starting point

View File

@ -1,7 +1,7 @@
Summary: A front end for testing other programs Summary: A front end for testing other programs
Name: dejagnu Name: dejagnu
Version: 1.6.1 Version: 1.6.3
Release: 13%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
License: GPLv3+ License: GPLv3+
Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-%{version}.tar.gz
@ -32,13 +32,11 @@ into software development).
%check %check
echo ============TESTING=============== echo ============TESTING===============
# Dejagnu test suite also has to test reporting to user. It needs a
# terminal for that. That doesn't compute in mock. Work around it by
# running the test under screen and communicating back to test runner
# via temporary file. If you have better idea, we accept patches.
TMP=`mktemp` TMP=`mktemp`
export SCREENDIR=`mktemp -d` export SCREENDIR=`mktemp -d`
(make check RUNTESTFLAGS="RUNTEST=`pwd`/runtest"; echo $?) >> $TMP # Skip selected tests. Failed testcases reported upstream:
# https://lists.gnu.org/archive/html/dejagnu/2021-09/msg00001.html
(make check RUNTESTFLAGS="--ignore pr48155.exp stats.exp"; echo $?) >> $TMP
RESULT=`tail -n 1 $TMP` RESULT=`tail -n 1 $TMP`
cat $TMP cat $TMP
rm -f $TMP rm -f $TMP
@ -56,12 +54,20 @@ install -D -m 644 doc/dejagnu.info $RPM_BUILD_ROOT/%{_infodir}/%{name}.info
%files %files
%doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi %doc COPYING NEWS README AUTHORS ChangeLog doc/dejagnu.texi
%{_bindir}/runtest %{_bindir}/runtest
%{_bindir}/dejagnu
%{_datadir}/dejagnu %{_datadir}/dejagnu
%{_includedir}/dejagnu.h %{_includedir}/dejagnu.h
%{_mandir}/*/* %{_mandir}/*/*
%{_infodir}/dejagnu* %{_infodir}/dejagnu*
%changelog %changelog
* Wed Jan 19 2022 Marek Polacek <polacek@redhat.com> - 1:1.6.3-2
- re-re-apply dejagnu-1.6-runtest.patch (#2042478)
* Tue Jan 11 2022 Honza Horak <hhorak@redhat.com> - 1:1.6.3-1
- Rebase to 1.6.3
Resolves: #1954158
* Wed Aug 11 2021 Marek Polacek <polacek@redhat.com> - 1:1.6.1-13 * Wed Aug 11 2021 Marek Polacek <polacek@redhat.com> - 1:1.6.1-13
- re-apply dejagnu-1.6-runtest.patch (#1990804) - re-apply dejagnu-1.6-runtest.patch (#1990804)