[PragmARC] Build only on architectures where gcc-gnat is available.

Björn Persson rombobeorn at fedoraproject.org
Thu Jul 19 19:05:24 UTC 2012


commit 5a9f99dc430b7cf3bab1738bc759cd30f97d40eb
Author: Björn Persson <bjorn at rombobjörn.se>
Date:   Thu Jul 19 21:05:20 2012 +0200

    Build only on architectures where gcc-gnat is available.

 PragmARC.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/PragmARC.spec b/PragmARC.spec
index 4d68306..950e123 100644
--- a/PragmARC.spec
+++ b/PragmARC.spec
@@ -12,6 +12,8 @@ Source2:        build_pragmarc.gpr
 Source3:        pragmarc.gpr
 
 BuildRequires:  gcc-gnat fedora-gnat-project-common >= 3 dos2unix chrpath
+# Build only on architectures where gcc-gnat is available:
+ExclusiveArch:  %{GNAT_arches}
 
 %global common_description_en \
 The PragmAda Reusable Components (PragmARCs) is a library of containers, \


More information about the scm-commits mailing list