fix(flameshot-nightly): include hash (#6240)

Resolve #6239

Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
madomado
2025-09-02 01:28:36 +08:00
committed by GitHub
parent 659777283b
commit c1e561f61e
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -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 \
+3 -2
View File
@@ -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