From 1d7b28c5718b98256da67d4d058488e82de470c7 Mon Sep 17 00:00:00 2001 From: Antonio T Date: Jan 06 2021 18:58:49 +0000 Subject: Try to bypass rhbz#1913346 --- diff --git a/libsbml.spec b/libsbml.spec index 3823e02..904712d 100644 --- a/libsbml.spec +++ b/libsbml.spec @@ -4,6 +4,11 @@ %bcond_without r %bcond_without python %bcond_without check +%if 0%{?python3_version_nodots} >= 310 +%bcond_with doc +%else +%bcond_without doc +%endif %bcond_with unbundle_minizip # Exclude sharp binding (Error CS0246) @@ -36,7 +41,7 @@ Obsoletes: libsbml-sharp < 0:5.18.0-20 Name: libsbml Version: 5.18.0 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Systems Biology Markup Language library License: LGPLv2+ URL: http://sbml.org/Software/libSBML @@ -70,6 +75,10 @@ BuildRequires: hostname # Python2 is no longer supported Obsoletes: python2-%{name} < 5.18 +%if %{without doc} +Obsoletes: %{name}-doc < 0:5.18.0-21 +%endif + %description LibSBML is an open-source programming library designed to read, write, manipulate, translate, and validate SBML files and data @@ -185,7 +194,7 @@ This package contains %{summary}. BuildRequires: doxygen BuildRequires: doxygen-latex BuildRequires: graphviz -BuildRequires: make +BuildRequires: make Summary: API documentation for %{name} Requires: %{name} = %{version}-%{release} @@ -417,6 +426,9 @@ popd %endif %changelog +* Wed Jan 06 2021 Antonio Trande - 5.18.0-21 +- Disable documentation build with Python-3.10 (rhbz#1913346) + * Sat Nov 14 2020 Antonio Trande - 5.18.0-20 - Modify patch #3 (rhbz#1897107)