.
OBS-URL: https://build.opensuse.org/package/show/shells/tcsh?expand=0&rev=51
This commit is contained in:
parent
1c6ef5d8be
commit
9ff6e6ec17
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 30 13:15:39 UTC 2015 - werner@suse.de
|
||||
|
||||
- Enable tcsh checks but be aware that this can not be done in parallel
|
||||
- Backup tcsh-6.15.00-blanks.dif away before update a working copy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 15 14:18:41 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
|
29
tcsh.spec
29
tcsh.spec
@ -37,7 +37,9 @@ Patch8: tcsh-6.18.01-metakey.patch
|
||||
# PATCH-FIX-SUSE add history file locking (bsc#901076)
|
||||
Patch9: tcsh-6.18.00-history-file-locking.patch
|
||||
Patch10: tcsh-6.18.01-history-merge.dif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: screen
|
||||
Requires: gawk
|
||||
Requires: textutils
|
||||
Recommends: tcsh-lang = %{version}
|
||||
@ -118,8 +120,31 @@ correction, a history mechanism, job control, and a C-like syntax.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
# requires a working terminal on stdin
|
||||
#make check %{?_smp_mflags}
|
||||
SCREENDIR=$(mktemp -d ${PWD}/screen.XXXXXXXXXX) || exit 1
|
||||
SCREENRC=${SCREENDIR}/tcsh
|
||||
TMPDIR=$(mktemp -d /tmp/tcsh.XXXXXXXXXX) || exit 1
|
||||
export SCREENRC SCREENDIR TMPDIR
|
||||
exec 0< /dev/null
|
||||
SCREENLOG=${SCREENDIR}/log
|
||||
cat > $SCREENRC<<-EOF
|
||||
deflogin off
|
||||
logfile $SCREENLOG
|
||||
logfile flush 1
|
||||
logtstamp off
|
||||
log on
|
||||
setsid on
|
||||
scrollback 0
|
||||
silence on
|
||||
utf8 on
|
||||
EOF
|
||||
> $SCREENLOG
|
||||
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||
env -i HOME=$HOME TERM=$TERM TMPDIR=$TMPDIR \
|
||||
SCREENRC=$SCREENRC SCREENDIR=$SCREENDIR \
|
||||
screen -L -D -m make check
|
||||
sleep 1
|
||||
kill -TERM $pid
|
||||
rm -rf $SCREENDIR $TMPDIR
|
||||
|
||||
%install
|
||||
for nls in nls/*.cat ; do
|
||||
|
Loading…
Reference in New Issue
Block a user