mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 17:18:35 +01:00
fixed x86_64-linux rpms for fpc 2.2.0
git-svn-id: trunk@12033 -
This commit is contained in:
parent
f4c706df05
commit
74d9903b57
@ -64,10 +64,7 @@ CompilerVersion=`cat $VersionFile | grep ' *version_nr *=.*;' | sed -e 's/[^0-9]
|
||||
CompilerRelease=`cat $VersionFile | grep ' *release_nr *=.*;' | sed -e 's/[^0-9]//g'`
|
||||
CompilerPatch=`cat $VersionFile | grep ' *patch_nr *=.*;' | sed -e 's/[^0-9]//g'`
|
||||
CompilerVersionStr="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
||||
LazVersion="$CompilerVersion.$CompilerRelease"
|
||||
if [ "$CompilerPatch" != "0" ]; then
|
||||
LazVersion="$LazVersion.$CompilerPatch"
|
||||
fi
|
||||
LazVersion="$CompilerVersion.$CompilerRelease.$CompilerPatch"
|
||||
|
||||
# set version numbers in all Makefiles
|
||||
perl replace_in_files.pl -sR -f '=\d.\d.\d' -r =$CompilerVersionStr -m 'Makefile(.fpc)?' $TmpDir/*
|
||||
|
||||
@ -30,7 +30,7 @@ Date=`date +%Y%m%d`
|
||||
RPMDIR=$(rpm/get_rpm_source_dir.sh)
|
||||
ARCH=`rpm --eval "%{_arch}"`
|
||||
LIB=`rpm --eval "%{_lib}"`
|
||||
FPCRPM=$RPMDIR/RPMS/$ARCH/fpc-2.0.4-$Date.$ARCH.rpm
|
||||
FPCRPM=$RPMDIR/RPMS/$ARCH/fpc-2.2.0-$Date.$ARCH.rpm
|
||||
if [ ! -f $FPCRPM ]; then
|
||||
echo ERROR: fpc rpm $FPCRPM not available
|
||||
exit
|
||||
|
||||
Loading…
Reference in New Issue
Block a user