[GtkAda] · Use GNAT_arches. · Added some more braces.
Björn Persson
rombobeorn at fedoraproject.org
Thu Jan 5 07:56:25 UTC 2012
commit 56a9946cb302859af4554ed00947062c7d29e6c3
Author: Björn Persson <bjorn at rombobjörn.se>
Date: Mon Aug 22 02:57:42 2011 +0200
· Use GNAT_arches.
· Added some more braces.
GtkAda.spec | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/GtkAda.spec b/GtkAda.spec
index 3dd091b..7669904 100644
--- a/GtkAda.spec
+++ b/GtkAda.spec
@@ -55,7 +55,7 @@ BuildRequires: tetex
BuildRequires: tetex-dvips
BuildRequires: fedora-gnat-project-common >= 3
# gcc-gnat is only available on these architectures:
-ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 alpha
+ExclusiveArch: %{GNAT_arches}
%global common_description_en \
%{name} is an Ada binding to the graphical toolkit GTK+. It allows you to \
@@ -167,12 +167,12 @@ Paketet %{name}-doc innehåller dokumentationen till %{name}.
find -name .cvsignore | xargs rm -fr
%build
-%configure --enable-build=Debuginfo --disable-subdirs --disable-static
+%{configure} --enable-build=Debuginfo --disable-subdirs --disable-static
make GNATMAKE="gnatmake %{Gnatmake_optflags}"
%install
-%make_install gprdir=%{_GNAT_project_dir}
+%{make_install} gprdir=%{_GNAT_project_dir}
# This directory is now empty and unused.
rmdir $RPM_BUILD_ROOT%{_GNAT_project_dir}/gtkada
More information about the scm-commits
mailing list