enable execution of pty tests in mock
This commit is contained in:
parent
225f16ca87
commit
69e3b6da41
10
ksh.spec
10
ksh.spec
@ -17,8 +17,13 @@ Conflicts: pdksh
|
||||
Requires: coreutils, diffutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: bison
|
||||
# regression test suite uses 'ps' from procps
|
||||
|
||||
# regression test suite uses 'ps' from procps, 'script' from util-linux and
|
||||
# 'tput' from ncurses
|
||||
BuildRequires: ncurses
|
||||
BuildRequires: procps
|
||||
BuildRequires: util-linux
|
||||
|
||||
Requires(post): grep, coreutils, systemd
|
||||
Requires(postun): sed
|
||||
|
||||
@ -63,7 +68,8 @@ touch %{buildroot}%{_bindir}/rksh
|
||||
touch %{buildroot}%{_mandir}/man1/rksh.1.gz
|
||||
|
||||
%check
|
||||
bin/package test
|
||||
# script is needed for pty tests in mock
|
||||
script -q -e -c "bin/package test"
|
||||
|
||||
%post
|
||||
for s in /bin/ksh /bin/rksh /usr/bin/ksh /usr/bin/rksh
|
||||
|
Loading…
Reference in New Issue
Block a user