[fedora-gnat-project-common] Added ExclusiveArch to distribute the package only for architectures where gcc-gnat is available.

Björn Persson rombobeorn at fedoraproject.org
Fri Oct 5 21:03:16 UTC 2012


commit 2ca80d0416e2747bda859186bad030308396e522
Author: Björn Persson <bjorn at rombobjörn.se>
Date:   Fri Oct 5 23:02:11 2012 +0200

    Added ExclusiveArch to distribute the package only for architectures where gcc-gnat is available.

 fedora-gnat-project-common.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/fedora-gnat-project-common.spec b/fedora-gnat-project-common.spec
index 8a3a747..45a5a1d 100644
--- a/fedora-gnat-project-common.spec
+++ b/fedora-gnat-project-common.spec
@@ -1,6 +1,6 @@
 Name:           fedora-gnat-project-common
 Version:        3.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Files shared by Ada libraries
 Summary(sv):    Gemensamma filer för adabibliotek
 
@@ -15,6 +15,8 @@ Requires:       gcc-gnat setup
 Requires:       libgnat-static
 # macros.gnat requires __global_ldflags:
 Requires:       redhat-rpm-config >= 9.1.0-13
+# Distribute this package only for architectures where gcc-gnat is available:
+ExclusiveArch:  %{GNAT_arches}
 
 %description
 The fedora-gnat-project-common package contains files that are used by the GNAT
@@ -52,6 +54,10 @@ cp -p macros.gnat %{buildroot}%{_sysconfdir}/rpm/
 
 
 %changelog
+* Fri Oct 05 2012 Björn Persson <bjorn at rombobjörn.se> - 3.5-2
+- Added ExclusiveArch to distribute the package only for architectures where
+  gcc-gnat is available.
+
 * Fri Sep 07 2012 Björn Persson <bjorn at rombobjörn.se> - 3.5-1
 - Upgraded to version 3.5.
 - Inclusion of runpaths can be controlled with GNAT_add_rpath.


More information about the scm-commits mailing list