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
1 changed files with 5 additions and 5 deletions

View File

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