fixed getversion

git-svn-id: trunk@8595 -
This commit is contained in:
mattias 2006-01-21 18:11:07 +00:00
parent 0775b5cafc
commit cbd08e7f0e
3 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ SpecFile=rpm/lazarus-$LazVersion-$LazRelease.spec
# download lazarus svn if necessary
echo "creating lazarus tgz ..."
if [ ! -f $SrcTGZ ]; then
#if [ ! -f $SrcTGZ ]; then
sh create_lazarus_export_tgz.sh $SrcTGZ
fi
#fi
# create spec file
echo "creating lazarus spec file ..."

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
grep 'lisLazarusVersionString = ' ../../ide/lazarusidestrconsts.pas \
grep 'LazarusVersionStr= ' ../../ide/aboutfrm.pas \
| sed -e 's/.*[^0-9\.]\([0-9\.]\+\)[^0-9\.].*/\1/'
# end.

View File

@ -10,7 +10,7 @@ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}-%{
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
Requires: fpc-src = FPCVERSION, fpc = FPCVERSION, gdk-pixbuf-devel, gtk+, gtk+-devel, gdb, glibc-devel, gdk-pixbuf
Requires: fpcsrc = FPCVERSION, fpc = FPCVERSION, gdk-pixbuf-devel, gtk+, gtk+-devel, gdb, glibc-devel, gdk-pixbuf
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils