mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 12:12:47 +02:00
fixed getversion
git-svn-id: trunk@8595 -
This commit is contained in:
parent
0775b5cafc
commit
cbd08e7f0e
@ -28,9 +28,9 @@ SpecFile=rpm/lazarus-$LazVersion-$LazRelease.spec
|
|||||||
|
|
||||||
# download lazarus svn if necessary
|
# download lazarus svn if necessary
|
||||||
echo "creating lazarus tgz ..."
|
echo "creating lazarus tgz ..."
|
||||||
if [ ! -f $SrcTGZ ]; then
|
#if [ ! -f $SrcTGZ ]; then
|
||||||
sh create_lazarus_export_tgz.sh $SrcTGZ
|
sh create_lazarus_export_tgz.sh $SrcTGZ
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# create spec file
|
# create spec file
|
||||||
echo "creating lazarus spec file ..."
|
echo "creating lazarus spec file ..."
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
grep 'lisLazarusVersionString = ' ../../ide/lazarusidestrconsts.pas \
|
grep 'LazarusVersionStr= ' ../../ide/aboutfrm.pas \
|
||||||
| sed -e 's/.*[^0-9\.]\([0-9\.]\+\)[^0-9\.].*/\1/'
|
| sed -e 's/.*[^0-9\.]\([0-9\.]\+\)[^0-9\.].*/\1/'
|
||||||
|
|
||||||
# end.
|
# end.
|
||||||
|
@ -10,7 +10,7 @@ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}-%{
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
#BuildRequires:
|
#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(post): desktop-file-utils
|
||||||
Requires(postun): desktop-file-utils
|
Requires(postun): desktop-file-utils
|
||||||
|
Loading…
Reference in New Issue
Block a user