mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(flameshot-nightly): include hash (#6240)
Resolve #6239 Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user