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 ...@@ -24,11 +24,11 @@ Requires: mkimage-preinstall
%define mpdir %_datadir/%name %define mpdir %_datadir/%name
%add_findreq_skiplist %mpdir/*.in/* %add_findreq_skiplist %mpdir/*.in/*
%ifarch loongarch64 %if %_build_cpu != "loongarch64"
# No java here [yet]
%def_without doc
%else
%def_with doc %def_with doc
%else
# XXX: documentation tools dependencies are INSANE (java)
%def_without doc
%endif %endif
%define docs $HOME/docs %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