mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix (lact): export VERGEN_GIT_SHA (#12176)
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
Name: lact
|
||||
Version: 0.9.0
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Linux GPU Configuration And Monitoring Tool
|
||||
URL: https://github.com/ilya-zlobintsev/LACT
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
@@ -43,7 +43,8 @@ Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||
%cargo_prep_online
|
||||
|
||||
%build
|
||||
VERGEN_GIT_SHA=%{shortcommit} %cargo_build
|
||||
export VERGEN_GIT_SHA=%{shortcommit}
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
install -Dm755 target/rpm/lact %{buildroot}%{_bindir}/lact
|
||||
|
||||
Reference in New Issue
Block a user