Dirk Mueller 2013-05-06 18:20:13 +00:00 committed by Git OBS Bridge
parent b126de5fc8
commit 76240e7e11

View File

@ -137,11 +137,6 @@ Patch79: helperenv.diff
Patch80: config-guess-sub-update.diff Patch80: config-guess-sub-update.diff
Patch81: debugedit-aarch64.diff Patch81: debugedit-aarch64.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%ifarch aarch64
%global auto_config_guess_update 1
%else
%global auto_config_guess_update 0
%endif
# #
# avoid bootstrapping problem # avoid bootstrapping problem
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
@ -229,8 +224,8 @@ rm -f rpmdb/db.h
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69 %patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79 %patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
%patch -P 80 -P 81 %patch -P 80 -P 81
%if %auto_config_guess_update %ifarch aarch64
patch -p0 < %{S:6464} %patch6464
%endif %endif
cp config.guess config.sub db/dist/ cp config.guess config.sub db/dist/
cp config.guess config.sub beecrypt/ cp config.guess config.sub beecrypt/
@ -348,7 +343,7 @@ for i in /usr/share/automake-*/*; do
fi fi
done done
popd popd
%if %auto_config_guess_update %ifarch aarch64
install -m 755 config.guess %{buildroot}/usr/lib/rpm install -m 755 config.guess %{buildroot}/usr/lib/rpm
install -m 755 config.sub %{buildroot}/usr/lib/rpm install -m 755 config.sub %{buildroot}/usr/lib/rpm
%endif %endif