Disable Ruby tests on all archs

This commit is contained in:
Jitka Plesnikova 2019-11-19 16:22:01 +01:00
parent 4ddcbf8197
commit 38e811319e

View File

@ -20,11 +20,8 @@
%{!?phplang:%global phplang 1} %{!?phplang:%global phplang 1}
# Disable Ruby test failed with swig 4.0.0 on s390 # Disable Ruby test failed with swig 4.0.0 on s390
# Tests on x86_64 fails with Ruby 2.6.4 # Tests on x86_64 fails with Ruby 2.6.4
%ifarch s390 s390x x86_64 # https://github.com/swig/swig/issues/1646
%{!?rubylang:%global rubylang 0} %{!?rubylang:%global rubylang 0}
%else
%{!?rubylang:%global rubylang 1}
%endif
%{!?python2lang:%global python2lang 1} %{!?python2lang:%global python2lang 1}
%{!?python3lang:%global python3lang 1} %{!?python3lang:%global python3lang 1}
@ -54,7 +51,7 @@
Summary: Connects C/C++/Objective C to some high-level programming languages Summary: Connects C/C++/Objective C to some high-level programming languages
Name: swig Name: swig
Version: 4.0.1 Version: 4.0.1
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv3+ and BSD License: GPLv3+ and BSD
URL: http://swig.sourceforge.net/ URL: http://swig.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
@ -340,6 +337,9 @@ install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb
%{_datadir}/%{name}/gdb %{_datadir}/%{name}/gdb
%changelog %changelog
* Tue Nov 19 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1-3
- Disable Ruby tests on all archs
* Thu Oct 17 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1-2 * Thu Oct 17 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.1-2
- Disable Ruby tests on x86_64 - Disable Ruby tests on x86_64