- fix the arch lists

This commit is contained in:
Dan Horák 2016-11-23 13:38:02 +01:00
commit 040dcc15cf

View file

@ -24,7 +24,7 @@
Name: python-%{srcname}
Version: 3.5.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Python binding for the YARA pattern matching tool
Group: Development/Libraries
@ -115,13 +115,13 @@ powerful features from Python scripts.
EXCLUDE=""
#Test for python-2.7 fails on testModuleData testcase on arm platform
%ifarch arm armv7hl
%ifarch %{arm}
EXCLUDE='--exclude=^testModuleData$'
%endif
#Yara is not prepared to run on s390 - more tests failing on s390
#http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/build.log
%ifarch s390 ppc64 ppc64le
%ifarch s390 s390x %{power64}
EXCLUDE='--exclude=^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
@ -143,7 +143,7 @@ EXCLUDE='--exclude=^testCompare$|^testModuleData$'
#Yara is not prepared to run on s390 - more tests failing on s390
#http://s390.koji.fedoraproject.org/kojifiles/work/tasks/9135/2399135/build.log
%ifarch s390 ppc64 ppc64le
%ifarch s390 s390x %{power64}
EXCLUDE='--exclude=^testCompare$|^testModuleData$|^testEntrypoint$|^testIn$|^testIntegerFunctions$'
%endif
@ -172,6 +172,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar
%changelog
* Wed Nov 23 2016 Dan Horák <dan[at]danny.cz> - 3.5.0-8
- fix the arch lists
* Mon Aug 16 2016 Michal Ambroz <rebus at, seznam.cz> - 3.5.0-7
- adding test exclusions also for armv7hl and ppc64le