mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-25 09:37:41 +01:00
rpm: simplified
This commit is contained in:
parent
3ecc919116
commit
caac938478
@ -83,10 +83,7 @@ CompilerVersionStr="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
|||||||
FPCVersion="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
FPCVersion="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
||||||
echo " $CompilerVersionStr-$FPCRelease"
|
echo " $CompilerVersionStr-$FPCRelease"
|
||||||
|
|
||||||
Arch=$(rpm --eval "%{_arch}")
|
Arch=$(rpm --eval "%{_target_cpu}")
|
||||||
if [ "$Arch" = "i386" ]; then
|
|
||||||
Arch=i686
|
|
||||||
fi
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# patch sources
|
# patch sources
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user