[libsbml] Disable -mono subpackage on archs without mono

Zbigniew Jędrzejewski-Szmek zbyszek at fedoraproject.org
Mon Feb 9 15:02:17 UTC 2015


commit 5fecbdc7c22f1032a2ad55d878b8c2f6e0f6118c
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Thu Feb 5 22:12:41 2015 -0500

    Disable -mono subpackage on archs without mono

 libsbml.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/libsbml.spec b/libsbml.spec
index 7778cf5..05eb057 100644
--- a/libsbml.spec
+++ b/libsbml.spec
@@ -4,10 +4,15 @@
 %bcond_without java
 %bcond_without octave
 %bcond_without r
-%bcond_without mono
 %bcond_without docs
 %bcond_without check
 
+%ifnarch s390 s390x aarch64 ppc64 ppc64le
+%bcond_without mono
+%else
+%bcond_with mono
+%endif
+
 # those have special requirements, the rest follows main package name
 %global octpkg  SBML
 %global perlpkg LibSBML


More information about the scm-commits mailing list