rpm: simplified

This commit is contained in:
mattias 2024-10-23 19:47:01 +02:00
parent 09317e57b3
commit 7609cf6706

View File

@ -83,10 +83,7 @@ CompilerVersionStr="$CompilerVersion.$CompilerRelease.$CompilerPatch"
FPCVersion="$CompilerVersion.$CompilerRelease.$CompilerPatch"
echo " $CompilerVersionStr-$FPCRelease"
Arch=$(rpm --eval "%{_arch}")
if [ "$Arch" = "i386" ]; then
Arch=i686
fi
Arch=$(rpm --eval "%{_target_cpu}")
#------------------------------------------------------------------------------
# patch sources