From 503bf5dc8fa220b70fd907caa778405bc3a519e4f07e453de2e8507ac69cff85 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 10 Feb 2017 11:17:45 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/clisp?expand=0&rev=66 --- clisp.spec | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/clisp.spec b/clisp.spec index ee1667d..e5b6fdd 100644 --- a/clisp.spec +++ b/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