- disable tests on big endians (#1079673)

This commit is contained in:
Dan Horák 2014-05-20 10:21:00 +02:00
parent 3d1b03fdb1
commit 04351e3ef6

View File

@ -2,7 +2,7 @@
Name: pycairo
Version: 1.8.10
Release: 8%{?dist}
Release: 9%{?dist}
License: MPLv1.1 or LGPLv2
Group: Development/Languages
Summary: Python bindings for the cairo library
@ -44,8 +44,11 @@ make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
%check
# disable tests on big endians (#1079673)
%ifnarch ppc ppc64 s390 s390x
cd test
PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} py.test
%endif
%files
%doc AUTHORS COPYING* NEWS README
@ -57,6 +60,9 @@ PYTHONPATH=$RPM_BUILD_ROOT%{python_sitearch} py.test
%{_libdir}/pkgconfig/pycairo.pc
%changelog
* Tue May 20 2014 Dan Horák <dan[at]danny.cz> - 1.8.10-9
- disable tests on big endians (#1079673)
* Thu Feb 27 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.10-8
- Enable xcb and xpyb (RHBZ 1045725, 1005447)
- Spec cleanups