[aunit] Use GNAT_arches rather than an explicit list

Peter Robinson pbrobinson at fedoraproject.org
Tue May 13 10:30:27 UTC 2014


commit 097d7c7ff72f8df1b8bcd85818752e9cccac1d09
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue May 13 11:30:05 2014 +0100

    Use GNAT_arches rather than an explicit list

 aunit.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/aunit.spec b/aunit.spec
index ea31a84..544676d 100644
--- a/aunit.spec
+++ b/aunit.spec
@@ -4,7 +4,7 @@
 
 Name:        aunit
 Version:    2013
-Release:    3%{?dist}
+Release:    4%{?dist}
 Summary:    Unit test framework for Ada
 Group:      Development/Languages
 License:    GPLv2+
@@ -27,7 +27,7 @@ BuildRequires:  chrpath gprbuild gcc-gnat
 Requires:    fedora-gnat-project-common >= 2
 
 # gcc-gnat only available on these:
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 alpha
+ExclusiveArch:  %{GNAT_arches}
 
 %description
 %{summary}
@@ -94,6 +94,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue May 13 2014 Peter Robinson <pbrobinson at fedoraproject.org> 2013-4
+- Use GNAT_arches rather than an explicit list
+
 * Wed May  7 2014 Pavel Zhukov <landgraf at fedoraproject.org> - 2013-3
 - Rebuild with new libgnat
 


More information about the scm-commits mailing list