spec: do NOT build documentation on LoongArch
The package is noarch, hence %ifarch is not going to work. Check for %_build_cpu instead.
This commit is contained in:
parent
33684d737d
commit
9b829c7251
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user