From 42f41dfd5f0ba459f6ba421aa99a1c631309f9ec Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Tue, 29 Sep 2020 12:44:56 +0200 Subject: [PATCH] Switched to the new way of forwarding commit hash to the About dialog. --- goldendict.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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