Increase the scope of the nobuildarches
We don't need to do some config work if we're not doing an arch build.
This commit is contained in:
parent
dba7671694
commit
897c1bc38d
@ -1368,6 +1368,12 @@ pathfix.py -i "%{__python3} %{py3_shbang_opts}" -p -n \
|
|||||||
Documentation \
|
Documentation \
|
||||||
scripts/gen_compile_commands.py
|
scripts/gen_compile_commands.py
|
||||||
|
|
||||||
|
# only deal with configs if we are going to build for the arch
|
||||||
|
%ifnarch %nobuildarches
|
||||||
|
|
||||||
|
if [ -L configs ]; then
|
||||||
|
rm -f configs
|
||||||
|
fi
|
||||||
# Deal with configs stuff
|
# Deal with configs stuff
|
||||||
mkdir configs
|
mkdir configs
|
||||||
cd configs
|
cd configs
|
||||||
@ -1390,9 +1396,6 @@ do
|
|||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# only deal with configs if we are going to build for the arch
|
|
||||||
%ifnarch %nobuildarches
|
|
||||||
|
|
||||||
%if !%{debugbuildsenabled}
|
%if !%{debugbuildsenabled}
|
||||||
rm -f kernel-%{version}-*debug.config
|
rm -f kernel-%{version}-*debug.config
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user