Disable tests for ix86

Due to brew limitation there's possibility to have both x86 and x86_64
builds running on same host. This causes port conflicts and build
failures. Disabling test for less important architecture for now.
x86 build should be performed manualy with tests enabled as scratch
build if needed.
This commit is contained in:
Pavel Zhukov 2021-01-15 07:53:50 +01:00
parent 86a097daf5
commit fa19a04ad0
1 changed files with 7 additions and 2 deletions

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd
Version: 3.2.4
Release: 3%{?dist}
Release: 4%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name
@ -471,6 +471,8 @@ chmod -x %buildroot/%perl_vendorlib/Cyrus/Annotator/Daemon.pm
%check
## FIXME RHELBLD-4341
%ifnarch %{ix86}
export LD_LIBRARY_PATH=%buildroot/%_libdir
export CYRUS_USER=$USER
@ -566,7 +568,7 @@ exclude+=("!Master.maxforkrate")
# Add -vvv for too much output
./testrunner.pl %{?_smp_mflags} -v -f pretty ${exclude[@]} 2>&1
%endif
%pre
# Create 'cyrus' user on target host
@ -685,6 +687,9 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
- Fri Jan 15 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.4-4
- Disable tests on ix86 (RHELBLD-4341)
* Mon Dec 14 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.2.4-3
- Add ExecReload to service file (#1907223)