diff --git a/COPASI.spec b/COPASI.spec index 019b089..e636e35 100644 --- a/COPASI.spec +++ b/COPASI.spec @@ -12,11 +12,23 @@ %global with_perl 1 %global with_r 1 -%ifarch %{mono_arches} +# rhbz #1588734,#1686738 +%if 0%{?fedora} && 0%{?fedora} < 30 +%ifarch %{?mono_arches} %global with_mono 1 %else %global with_mono 0 %endif +%endif + +%if 0%{?fedora} && 0%{?fedora} >= 30 +%global mono_arches %{ix86} x86_64 sparc sparcv9 ia64 %{arm} aarch64 alpha s390x ppc +%ifarch %{?mono_arches} +%global with_mono 1 +%else +%global with_mono 0 +%endif +%endif ##Use QWT6? (Experimental) %global with_qwt6 0 @@ -32,7 +44,7 @@ Name: COPASI Summary: Biochemical network simulator Version: 4.24.%{buildid} -Release: 6%{?dist} +Release: 7%{?dist} ##Artistic 2.0 is main license ##GPLv2+ is related to a Mixed Source Licensing Scenario @@ -457,6 +469,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.x %{_datadir}/copasi/doc/ %changelog +* Fri Mar 08 2019 Antonio Trande - 4.24.197-7 +- Exclude mono builds on fedora 30+/pp64* (rhbz#1588734,#1686738) + * Thu Jan 31 2019 Fedora Release Engineering - 4.24.197-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild