[gprbuild] Use GNAT_arches rather than an explicit list

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


commit b28d540b4a7ac6b9b28f9b6a92a6c87ab37c9657
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue May 13 11:49:12 2014 +0100

    Use GNAT_arches rather than an explicit list

 gprbuild.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gprbuild.spec b/gprbuild.spec
index a24b8dc..58f81ff 100644
--- a/gprbuild.spec
+++ b/gprbuild.spec
@@ -1,6 +1,6 @@
 Name:       gprbuild
 Version:    2013
-Release:    7%{?dist}
+Release:    8%{?dist}
 Summary:    Ada project builder
 Group:      Development/Languages
 License:    GPLv2+
@@ -19,7 +19,7 @@ BuildRequires:  gcc-gnat libgnat-static libgnat-devel
 BuildRequires:  fedora-gnat-project-common >= 2
 Requires:       fedora-gnat-project-common >= 2
 # xmlada and gcc-gnat only available on these:
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 alpha
+ExclusiveArch: %{GNAT_arches}
 
 %description
 GPRbuild is an advanced software tool designed to help automate
@@ -63,6 +63,9 @@ find __doc/examples -type f -exec chmod -x {} \;
 %_GNAT_project_dir/*
 
 %changelog
+* Tue May 13 2014 Peter Robinson <pbrobinson at fedoraproject.org> 2013-8
+- Use GNAT_arches rather than an explicit list
+
 * Wed May  7 2014 Pavel Zhukov <landgraf at fedoraproject.org> - 2013-7
 - Rebuild with new libgnat
 


More information about the scm-commits mailing list