[packages/xorg-docs] - define build/host before noarch is set
baggins
baggins at pld-linux.org
Thu May 7 19:36:09 CEST 2015
commit c3c075e0e4eb307073b71973ca7d3053ca493c02
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu May 7 19:35:53 2015 +0200
- define build/host before noarch is set
xorg-docs.spec | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/xorg-docs.spec b/xorg-docs.spec
index bc43bae..f73440a 100644
--- a/xorg-docs.spec
+++ b/xorg-docs.spec
@@ -1,3 +1,9 @@
+%ifarch x32
+%define build_arch %{_target_platform}
+%else
+%define build_arch %{_host}
+%endif
+
Summary: X.org documentation
Summary(pl.UTF-8): Dokumentacja X.org
Name: xorg-docs
@@ -32,13 +38,8 @@ Dokumentacja X.org.
%{__autoconf}
%{__automake}
%configure \
-%ifarch x32
- --host=%{_target_platform} \
- --build=%{_target_platform} \
-%else
- --host=%{_host} \
- --build=%{_host} \
-%endif
+ --host=%{build_arch} \
+ --build=%{build_arch} \
--without-fop
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-docs.git/commitdiff/c3c075e0e4eb307073b71973ca7d3053ca493c02
More information about the pld-cvs-commit
mailing list