refined architecture validation

This commit is contained in:
Дмитрий Левин 2002-11-10 17:31:27 +00:00
parent db72efa1e6
commit 8e69436ff1

View File

@ -586,7 +586,8 @@
%___build_args -e
%___build_cmd %{?_sudo:%{_sudo} }%{?_remsh:%{_remsh} %{_remhost} }%{?_remsudo:%{_remsudo} }%{?_remchroot:%{_remchroot} %{_remroot} }%{___build_shell} %{___build_args}
%___build_pre \
%{?!_target_platform:echo 'Invalid or unknown architecture: %{_target_cpu}-%{_vendor}-%{_target_os}' >&2; exit 1}\
%{?!_target_platform:%{warn:Invalid or unknown architecture: %{_target_cpu}-%{_vendor}-%{_target_os}\
}exit 1}\
export RPM_SOURCE_DIR=\"%{u2p:%_sourcedir}\"\
export RPM_BUILD_DIR=\"%{u2p:%_builddir}\"\
export RPM_OPT_FLAGS=\"%optflags\"\