disable tests on s390x

This commit is contained in:
Tom Callaway 2020-01-31 17:54:24 -05:00
parent 860221f9ad
commit a2cea5a35a

View File

@ -1,6 +1,6 @@
Name: check
Version: 0.14.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A unit test framework for C
Source0: https://github.com/libcheck/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
License: LGPLv2+
@ -87,6 +87,7 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
%check
%ifnarch s390x
export LD_LIBRARY_PATH=$PWD/src/.libs
make check
# Don't need to package the sh, log or trs files
@ -94,6 +95,7 @@ make check
rm -rf checkmk/test/check_checkmk*
# these files are empty
rm -rf checkmk/test/empty_input
%endif
%ldconfig_scriptlets
@ -123,6 +125,9 @@ rm -rf checkmk/test/empty_input
%{_mandir}/man1/checkmk.1*
%changelog
* Fri Jan 31 2020 Tom Callaway <spot@fedoraproject.org> - 0.14.0-3
- disable tests on s390x
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild