fix (lact): export VERGEN_GIT_SHA (#12176) (#12195)

(cherry picked from commit c18b8d1674)

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-05-10 22:38:25 -05:00
committed by GitHub
parent c16eed6a1b
commit 270a5f7bc2
+3 -2
View File
@@ -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