]> git.pld-linux.org Git - packages/automake.git/commitdiff
- fix building on x32 auto/th/automake-1.15-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 10 May 2015 09:10:23 +0000 (11:10 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 10 May 2015 09:10:23 +0000 (11:10 +0200)
- rel 2

automake.spec

index 47076df2f757d70259e59bb4eb0a48fbab47f944..9f0ac12ea1d16f6e5ca90a46b0487b4e529dbc74 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.15
-Release:       1
+Release:       2
 Epoch:         1
 License:       GPL v2+
 Group:         Development/Building
@@ -127,8 +127,13 @@ ln -s ../m4/[!a]*.m4 ../m4/a[!m]*.m4 .
 # NOTE: _target macro becames "noarch" if ./builder passes --target=noarch, so
 # be sure use plain /usr/bin/rpmbuild.
 %configure \
+%if %{_host_cpu} == "x32"
+       --host=%{_target_platform} \
+       --build=%{_target_platform}
+%else
        --host=%{_host} \
        --build=%{_host}
+%endif
 %{__make}
 
 %install
This page took 0.094028 seconds and 4 git commands to generate.