diff --git a/anda/apps/flameshot.qt5/flameshot.qt5.spec b/anda/apps/flameshot.qt5/flameshot.qt5.spec index 8a003413f3..55d06e2993 100644 --- a/anda/apps/flameshot.qt5/flameshot.qt5.spec +++ b/anda/apps/flameshot.qt5/flameshot.qt5.spec @@ -9,7 +9,7 @@ Name: flameshot.qt5 Version: %ver^%{commit_date}git.%shortcommit -Release: 2%?dist +Release: 3%?dist License: GPL-3.0-or-later AND ASL-2.0 AND GPL-2.0-only AND LGPL-3.0-only AND FAL-1.3 Summary: Powerful yet simple to use screenshot software URL: https://flameshot.org @@ -71,6 +71,7 @@ Development files for Flameshot. %autosetup -p1 -n flameshot-%commit %build +export GIT_HASH=%commit %cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DUSE_WAYLAND_CLIPBOARD:BOOL=ON \ diff --git a/anda/apps/flameshot/flameshot-nightly.spec b/anda/apps/flameshot/flameshot-nightly.spec index bc6934c443..81d2e7286b 100644 --- a/anda/apps/flameshot/flameshot-nightly.spec +++ b/anda/apps/flameshot/flameshot-nightly.spec @@ -10,7 +10,7 @@ Name: flameshot.nightly Version: %ver^%{commit_date}git.%shortcommit -Release: 1%?dist +Release: 2%?dist License: GPL-3.0-or-later AND ASL-2.0 AND GPL-2.0-only AND LGPL-3.0-only AND FAL-1.3 Summary: Powerful yet simple to use screenshot software URL: https://flameshot.org @@ -72,9 +72,10 @@ Requires: %{name} = %{version} %autosetup -p1 -n flameshot-%commit %build +export GIT_HASH=%commit %cmake -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ - -DUSE_WAYLAND_CLIPBOARD:BOOL=ON \ + -DUSE_WAYLAND_CLIPBOARD:BOOL=ON %cmake_build %install