.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=66
This commit is contained in:
parent
3b4c3241a9
commit
503bf5dc8f
30
clisp.spec
30
clisp.spec
@ -73,7 +73,6 @@ BuildRequires: pcre-devel
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: screen
|
||||
BuildRequires: systemd
|
||||
BuildRequires: vim-data
|
||||
%if 0%{?suse_version} >= %min_suse_ver
|
||||
BuildRequires: dbus-1-devel
|
||||
@ -129,17 +128,6 @@ with the file README. The subdirectory
|
||||
contains two nice applications.
|
||||
|
||||
%prep
|
||||
#
|
||||
# Collect some informations on the build system for debugging
|
||||
# a random error on sockets during test suite
|
||||
#
|
||||
type -p systemd-detect-virt > /dev/null 2>&1 && systemd-detect-virt || :
|
||||
type -p uname > /dev/null 2>&1 && uname -a || :
|
||||
type -p netstat > /dev/null 2>&1 && netstat -i || :
|
||||
type -p netstat > /dev/null 2>&1 && netstat -x || :
|
||||
type -p ip > /dev/null 2>&1 && ip link || :
|
||||
type -p ss > /dev/null 2>&1 && ss -x || :
|
||||
#
|
||||
%setup -qT -b0 -n clisp-%uuid
|
||||
%patch1 -p1 -b .sel
|
||||
%patch2 -p1 -b .wooh
|
||||
@ -287,13 +275,29 @@ tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||
#
|
||||
# Stop tail
|
||||
#
|
||||
sleep 1
|
||||
kill $pid
|
||||
|
||||
#
|
||||
# Check for errors
|
||||
#
|
||||
test -z "$(ls build/tests/*.erg 2>/dev/null)"
|
||||
|
||||
check=no
|
||||
for err in build/tests/*.erg
|
||||
do
|
||||
test -e "$err" || break
|
||||
check=yes
|
||||
cat $err
|
||||
done
|
||||
if test $check != no
|
||||
then
|
||||
type -p uname > /dev/null 2>&1 && uname -a || :
|
||||
type -p netstat > /dev/null 2>&1 && netstat -i || :
|
||||
type -p netstat > /dev/null 2>&1 && netstat -x || :
|
||||
type -p ip > /dev/null 2>&1 && ip link || :
|
||||
type -p ss > /dev/null 2>&1 && ss -x || :
|
||||
fi
|
||||
#
|
||||
%install
|
||||
#
|
||||
# Clean
|
||||
|
Loading…
Reference in New Issue
Block a user