mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 15:58:37 +02:00
create and use i386 rpms
git-svn-id: trunk@9075 -
This commit is contained in:
parent
7e36d53a34
commit
afd0d47005
@ -27,7 +27,7 @@ fi
|
||||
|
||||
Date=`date +%Y%m%d`
|
||||
# get fpc snapshot rpm
|
||||
FPCRPM=~/rpmbuild/RPMS/i586/fpc-2.1.1-$Date.i586.rpm
|
||||
FPCRPM=~/rpmbuild/RPMS/i386/fpc-2.1.1-$Date.i386.rpm
|
||||
if [ ! -f $FPCRPM ]; then
|
||||
echo ERROR: fpc rpm $FPCRPM not available
|
||||
exit
|
||||
@ -80,7 +80,7 @@ cat rpm/lazarus.spec.template | \
|
||||
# -e "s/FPCSRCVERSION/$FPCRPMVersion/" \
|
||||
|
||||
# build rpm
|
||||
rpmbuild -ba $SpecFile
|
||||
rpmbuild --target i386 -ba $SpecFile
|
||||
|
||||
rm -rf $TmpFpcDir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user