From 16bdf654753736a58c42b115ac8fde10b095aef9 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Tue, 13 Oct 2020 11:53:50 +0800 Subject: [PATCH] get check log --- clamav.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clamav.spec b/clamav.spec index b01e442..d2db53b 100644 --- a/clamav.spec +++ b/clamav.spec @@ -1,7 +1,7 @@ Name: clamav Summary: End-user tools for the Clam Antivirus scanner Version: 0.101.4 -Release: 7 +Release: 8 License: GPLv2 URL: https://www.clamav.net/ Source0: https://www.clamav.net/downloads/production/clamav-%version.tar.gz @@ -148,6 +148,8 @@ The clamav-milter package contains files which are needed to run the clamav-milt %prep %autosetup -n %{name}-%{version}%{?prerelease} -p1 +export LC_ALL="en_US.UTF-8" +sed -i '1a set -x' unit_tests/check_common.sh install -d libclamunrar{,_iface} touch libclamunrar/{Makefile.in,all,install} @@ -263,7 +265,7 @@ touch $RPM_BUILD_ROOT{%_rundir/clamav-milter/clamav-milter.{socket,pid},%_var/lo %check -make check +make check || cat unit_tests/check2_clamd.sh.log %pre filesystem -- Gitee