diff --git a/goldendict.spec b/goldendict.spec index 23195bd..dc8da98 100644 --- a/goldendict.spec +++ b/goldendict.spec @@ -1,14 +1,11 @@ -%global commit 1064880450a648696dfabdf698fdbeec095604e1 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: goldendict -Version: 1.5 -Release: 0.36.RC2%{?dist} +Version: 1.5.0 +Release: 1%{?dist} License: GPL-3.0-or-later Summary: A feature-rich dictionary lookup program URL: http://goldendict.org -Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) @@ -60,13 +57,13 @@ BuildArch: noarch Contain doc files of %{name}. %prep -%autosetup -n %{name}-%{commit} -p1 +%autosetup -p1 rm -rf {qtsingleapplication,maclibs,winlibs} 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 +echo "%{version}" > version.txt %make_build %install @@ -91,6 +88,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/%{name}/help %changelog +* Wed May 31 2023 Vitaly Zaitsev - 1.5.0-2 +- Updated to version 1.5.0. + * Thu Jan 19 2023 Fedora Release Engineering - 1.5-0.36.RC2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index 05c8d4a..a982e41 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (goldendict-1064880.tar.gz) = 1204f18d82a5933d7b8b0a66df94ded77cecff88eac0d97cf38d229c831d755c028d1be3ce5f186dd3432a65a7b55e652beb6318ee11d230004d3f8f76d68293 +SHA512 (goldendict-1.5.0.tar.gz) = 8a10450c40ebd7c747a61fb5d311f47cbfa6f2708867ccd6e879c0ab479513c0c0be6c038ced3fbb52754f53802746d83983d9f77c2550e7a7f84fd14c421ead