The package rpms/libsbml.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/libsbml.git/commit/?id=7a810b9ef5ee7....
Change: -%ifarch %{ix86}
Thanks.
Full change: ============
commit 7a810b9ef5ee78ee20a835e62d87229d43185a2f Author: sagitter sagitter@fedoraproject.org Date: Thu Jun 28 12:15:26 2018 +0200
Fix upstream bug #463
diff --git a/libsbml-5.17.0-fix_bug463.patch b/libsbml-5.17.0-fix_bug463.patch new file mode 100644 index 0000000..6a82ca1 --- /dev/null +++ b/libsbml-5.17.0-fix_bug463.patch @@ -0,0 +1,18 @@ +--- a/src/sbml/Compartment.cpp ++++ b/src/sbml/Compartment.cpp +@@ -283,7 +283,14 @@ + } + else + { +- return static_cast<unsigned int>(mSpatialDimensionsDouble); ++ if (util_isNaN(mSpatialDimensionsDouble)) ++ { ++ return 0; ++ } ++ else ++ { ++ return static_cast<unsigned int>(mSpatialDimensionsDouble); ++ } + } + } + } diff --git a/libsbml.spec b/libsbml.spec index 64877e6..4d154e1 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -34,7 +34,7 @@
Name: libsbml Version: 5.17.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Systems Biology Markup Language library
License: LGPLv2+ @@ -51,6 +51,9 @@ Patch1: libsbml-fix_install_libpaths.patch ## https://sourceforge.net/p/sbml/libsbml/461/ Patch2: libsbml-%{version}-swigdoc_fix.patch
+## https://sourceforge.net/p/sbml/libsbml/463/ +Patch3: libsbml-%{version}-fix_bug463.patch + BuildRequires: cmake BuildRequires: zlib-devel BuildRequires: bzip2-devel @@ -210,6 +213,7 @@ This package contains %{summary}. %autosetup -n libSBML-%{version}-Source -N %patch0 -p0 %patch1 -p1 +%patch3 -p1
%if %{with python3} %patch2 -p1 @@ -370,12 +374,6 @@ make -C build-docs install-pc DESTDIR=%{buildroot} install -Dm0644 src/bindings/ruby/README.txt %{buildroot}%{_pkgdocdir}/README-ruby.txt %endif
-##test_csharp_bindings_full fails on various architectures -##https://sourceforge.net/p/sbml/libsbml/429/ -##https://bugzilla.redhat.com/show_bug.cgi?id=1402549 -## -##test_sbml_sbml_run fails on i686 -##https://sourceforge.net/p/sbml/libsbml/463/ %if %{with check}
%check @@ -383,21 +381,13 @@ install -Dm0644 src/bindings/ruby/README.txt %{buildroot}%{_pkgdocdir}/README-ru export CK_FORK=no pushd build2 ctest --force-new-ctest-process -VV \ -%ifarch %{ix86} - -E "test_ruby_binding|test_sbml_sbml_run" -%else -E "test_ruby_binding" -%endif popd %endif
pushd build ctest --force-new-ctest-process -VV \ -%ifarch %{ix86} - -E "test_csharp_bindings_full|test_ruby_binding|test_sbml_sbml_run" -%else -E "test_ruby_binding" -%endif popd
%endif @@ -487,6 +477,9 @@ popd %endif
%changelog +* Thu Jun 28 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.17.0-4 +- Fix upstream bug #463 + * Wed Jun 27 2018 Antonio Trande <sagitterATfedoraproject.org> - 5.17.0-3 - Fix Python37 compiling error (upstream bug #461) (bz#1594498)
arch-excludes@lists.fedoraproject.org