diff --git a/goldendict.spec b/goldendict.spec index 8e83a0f..7291890 100644 --- a/goldendict.spec +++ b/goldendict.spec @@ -58,10 +58,11 @@ Contain doc files of %{name}. %prep %autosetup -n %{name}-%{commit} -p1 rm -rf {qtsingleapplication,maclibs,winlibs} -sed -e '/^VERSION =/s/$/%{shortcommit}/' -e '/qtsingleapplication.pri/d' -i %{name}.pro +sed -e '/qtsingleapplication.pri/d' -i %{name}.pro %build %qmake_qt5 PREFIX=%{_prefix} CONFIG+=qtsingleapplication CONFIG+=no_ffmpeg_player %{name}.pro +echo "1.5.0-RC2 (%{shortcommit})" > version.txt %make_build %install