mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 03:58:14 +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`
|
Date=`date +%Y%m%d`
|
||||||
# get fpc snapshot rpm
|
# 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
|
if [ ! -f $FPCRPM ]; then
|
||||||
echo ERROR: fpc rpm $FPCRPM not available
|
echo ERROR: fpc rpm $FPCRPM not available
|
||||||
exit
|
exit
|
||||||
@ -80,7 +80,7 @@ cat rpm/lazarus.spec.template | \
|
|||||||
# -e "s/FPCSRCVERSION/$FPCRPMVersion/" \
|
# -e "s/FPCSRCVERSION/$FPCRPMVersion/" \
|
||||||
|
|
||||||
# build rpm
|
# build rpm
|
||||||
rpmbuild -ba $SpecFile
|
rpmbuild --target i386 -ba $SpecFile
|
||||||
|
|
||||||
rm -rf $TmpFpcDir
|
rm -rf $TmpFpcDir
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user