The package rpms/openbabel.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/openbabel.git/commit/?id=81783c20....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 81783c2072777cbb055e8910f36d9a4e06a59190
Author: Dominik 'Rathann' Mierzejewski <dominik(a)greysector.net>
Date: Sun Jan 27 18:52:25 2019 +0100
Disable failing test on s390x/F29+
diff --git a/openbabel-disable-tests-s390x.patch b/openbabel-disable-tests-s390x.patch
new file mode 100644
index 0000000..e44625d
--- /dev/null
+++ b/openbabel-disable-tests-s390x.patch
@@ -0,0 +1,12 @@
+diff -up openbabel-openbabel-2-4-1/test/CMakeLists.txt.s390x
openbabel-openbabel-2-4-1/test/CMakeLists.txt
+--- openbabel-openbabel-2-4-1/test/CMakeLists.txt.s390x 2016-10-10 17:56:17.000000000
+0200
++++ openbabel-openbabel-2-4-1/test/CMakeLists.txt 2019-01-27 18:29:46.782926714 +0100
+@@ -62,7 +62,7 @@ set(origtests
+ )
+ set (atom_parts 1 2 3 4)
+ set (ffmmff94_parts 1 2)
+-set (math_parts 1 2 3 4)
++set (math_parts 1 2 3)
+
+ if(BUILD_SHARED)
+ if(LIBXML2_FOUND)
diff --git a/openbabel.spec b/openbabel.spec
index a375bdb..537c598 100644
--- a/openbabel.spec
+++ b/openbabel.spec
@@ -34,6 +34,8 @@ Patch9: openbabel-narrowing-conversion.patch
# Fix path to libdir in .pc file
#
https://bugzilla.redhat.com/show_bug.cgi?id=1669664
Patch10: openbabel-fix-libdir-in-pkgconfig.patch
+# Math 4 test is failing on s390x only
+Patch11: openbabel-disable-tests-s390x.patch
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: eigen3-devel
@@ -152,6 +154,9 @@ Ruby wrapper for the Open Babel library.
%ifarch aarch64 %{arm} %{power64} s390 s390x
%patch8 -p1 -b .tests
%endif
+%ifarch s390x
+%patch11 -p1 -b .s390x
+%endif
%patch9 -p1 -b .nc
%patch10 -p1
convert src/GUI/babel.xpm -transparent white babel.png
@@ -285,6 +290,7 @@ make test
- Fix path to libdir in .pc (#1669664)
- Use https for URL:
- Exclude obgui from the main openbabel package
+- Disable failing test on s390x/F29+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.4.1-15
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
commit 92fdadb7a4a05d58aff693ff5dc450f5254f7f99
Author: Scott Talbert <swt(a)techie.net>
Date: Tue Nov 6 20:19:31 2018 -0500
Exclude obgui from the main openbabel package
diff --git a/openbabel.spec b/openbabel.spec
index 1d19899..a375bdb 100644
--- a/openbabel.spec
+++ b/openbabel.spec
@@ -237,6 +237,8 @@ make test
%{_bindir}/ob*
%{_bindir}/roundtrip
%{_mandir}/man1/*.1*
+%exclude %{_bindir}/obgui
+%exclude %{_mandir}/man1/obgui.1*
%files devel
%{_includedir}/%{name}-2.0
@@ -250,6 +252,7 @@ make test
%{_bindir}/obgui
%{_datadir}/applications/obgui.desktop
%{_datadir}/pixmaps/babel.png
+%{_mandir}/man1/obgui.1*
%files libs
%{_datadir}/%{name}/
@@ -281,6 +284,7 @@ make test
* Sun Jan 27 2019 Dominik Mierzejewski <rpm(a)greysector.net> - 2.4.1-16
- Fix path to libdir in .pc (#1669664)
- Use https for URL:
+- Exclude obgui from the main openbabel package
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.4.1-15
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild