Disable tests on %ix86

Due to brew limitation both x86_64 as well as i686 build are started on
same host which causes port conflict in cassandane

Resolves: #1951314
This commit is contained in:
Pavel Zhukov 2021-04-20 09:20:56 +02:00
parent d9da4ed7e5
commit c613618b58

View File

@ -14,7 +14,7 @@
Name: cyrus-imapd
Version: 3.2.6
Release:5%{?dist}
Release: 6%{?dist}
%define ssl_pem_file_prefix /etc/pki/%name/%name
@ -287,7 +287,7 @@ sed -i \
%build
# This package fails its testsuite on s390x when LTO is enabled. Root cause
# analysis has not yet been performed
%ifarch s390x %ix86
%ifarch s390x
%define _lto_cflags %{nil}
%endif
# This is the test suite, which doesn't build much but does verify its dependencies.
@ -491,7 +491,7 @@ make %{?_smp_mflags} check || exit 1
exit 0
%endif
%ifarch ppc64le
%ifarch ppc64le %ix86
exit 0
%endif
@ -652,8 +652,8 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
%changelog
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com>
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Apr 20 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-6
- disable tests on ix86 to workaround brew bug
* Wed Mar 17 2021 Pavel Zhukov <pzhukov@redhat.com> - 3.2.6-4
- Do not require clamav in rhel