Disable tests on s390x

Resolves: #1863952
This commit is contained in:
Robbie Harwood 2020-08-03 19:30:15 +00:00
parent d0cfa344c7
commit 8be5252136

View File

@ -18,7 +18,7 @@ Summary: The Kerberos network authentication system
Name: krb5
Version: 1.18.2
# for prerelease, should be e.g., 0.% {prerelease}.1% { ?dist } (without spaces)
Release: 15%{?dist}
Release: 16%{?dist}
# rharwood has trust path to signing key and verifies on check-in
Source0: https://web.mit.edu/kerberos/dist/krb5/1.18/krb5-%{version}%{prerelease}.tar.gz
@ -300,6 +300,12 @@ sphinx-build -a -b html -t pathsubs doc build-html
rm -fr build-html/_sources
%check
# There are 0 test machines for this architecture, very few builders, and
# they're not very well provisioned / maintained. I can't support it.
# Patches welcome, but there's nothing I can do - it fails more than half the
# time for no discernable reason.
%ifnarch s390x
pushd src
# ugh. COPR doesn't expose the keyring, so try to cope.
@ -310,6 +316,7 @@ keyctl list @u &>/dev/null || KEYCTL=:
# tests with a new one.
$KEYCTL session - make check OFFLINE=yes TMPDIR=%{_tmppath}
popd
%endif
%install
[ "$RPM_BUILD_ROOT" != '/' ] && rm -rf -- "$RPM_BUILD_ROOT"
@ -623,6 +630,10 @@ exit 0
%{_libdir}/libkadm5srv_mit.so.*
%changelog
* Mon Aug 03 2020 Robbie Harwood <rharwood@redhat.com> - 1.18.2-16
- Disable tests on s390x
- Resolves: #1863952
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.2-15
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild