packages: automake/automake.spec - pass --build and --host params to config...

glen glen at pld-linux.org
Fri Feb 19 17:05:25 CET 2010


Author: glen                         Date: Fri Feb 19 16:05:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pass --build and --host params to configure so we can itself be noarch package; rel 2

---- Files affected:
packages/automake:
   automake.spec (1.141 -> 1.142) 

---- Diffs:

================================================================
Index: packages/automake/automake.spec
diff -u packages/automake/automake.spec:1.141 packages/automake/automake.spec:1.142
--- packages/automake/automake.spec:1.141	Fri Feb 19 12:58:12 2010
+++ packages/automake/automake.spec	Fri Feb 19 17:05:16 2010
@@ -16,7 +16,7 @@
 Summary(uk.UTF-8):	GNU automake - інструменти для автоматичної генерації Makefile'ів
 Name:		automake
 Version:	1.11.1
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+
 Group:		Development/Building
@@ -46,7 +46,7 @@
 %endif
 Conflicts:	autoconf < 2.60
 Conflicts:	libtool < 2:1.5-11
-#BuildArch:	noarch -- autoconf doesn't allow
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_enable_debug_packages	0
@@ -122,7 +122,12 @@
 %if %{without bootstrap}
 %{__automake}
 %endif
-%configure
+
+# NOTE: _target macro becames "noarch" if ./builder passes --target=noarch, so
+# use plain /usr/bin/rpmbuild.
+%configure \
+	--host=%{_target} \
+	--build=%{_target}
 %{__make}
 
 %install
@@ -186,6 +191,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.142  2010/02/19 16:05:16  glen
+- pass --build and --host params to configure so we can itself be noarch package; rel 2
+
 Revision 1.141  2010/02/19 11:58:12  glen
 - no binary blobs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/automake/automake.spec?r1=1.141&r2=1.142&f=u



More information about the pld-cvs-commit mailing list