]> git.pld-linux.org Git - packages/automake.git/commitdiff
- pass --build and --host params to configure so we can itself be noarch package... auto/ac/automake-1_11_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 19 Feb 2010 16:05:16 +0000 (16:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    automake.spec -> 1.142

automake.spec

index 80b947ed06577c1e2dd04a00a31b880c81de7c07..67a288bf10800e8d0a2d399bb2c04a20cd156f6e 100644 (file)
@@ -15,7 +15,7 @@ Summary(tr.UTF-8):    Makefile yapılandırma araçları
 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
@@ -45,7 +45,7 @@ Requires:     perl(threads)
 %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
@@ -121,7 +121,12 @@ ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 .
 %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
This page took 0.180915 seconds and 4 git commands to generate.