Commit 9b829c72 authored by Alexey Sheplyakov's avatar Alexey Sheplyakov

spec: do NOT build documentation on LoongArch

The package is noarch, hence %ifarch is not going to work. Check for %_build_cpu instead.
parent 33684d73
......@@ -24,11 +24,11 @@ Requires: mkimage-preinstall
%define mpdir %_datadir/%name
%add_findreq_skiplist %mpdir/*.in/*
%ifarch loongarch64
# No java here [yet]
%def_without doc
%else
%if %_build_cpu != "loongarch64"
%def_with doc
%else
# XXX: documentation tools dependencies are INSANE (java)
%def_without doc
%endif
%define docs $HOME/docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment