Commit 79e827e 1 parent 2ed9e1f commit 79e827e Copy full SHA for 79e827e
File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ for RECIPE_PATH in "$RECIPES_DIR"/*/; do
32
32
MAINTAINER=$( yq eval ' .metadata.maintainer // "Unknown Maintainer"' " $RECIPE_FILE " )
33
33
SOURCE_URL=" https://github.com/ilya-zlobintsev/LACT/archive/refs/tags/v${RECIPE_VERSION} .tar.gz"
34
34
35
+ LACT_COMMIT_HASH=$( git rev-parse --short v$RECIPE_VERSION )
36
+
35
37
MAKE_COMMAND_RAW=$( yq eval ' .build.steps[0]' " $RECIPE_FILE " | grep -oP ' (make.+)' )
36
38
MAKE_COMMAND=${MAKE_COMMAND_RAW::- 1}
37
39
@@ -83,7 +85,7 @@ $MAKE_COMMAND %{?_smp_mflags}
83
85
84
86
%install
85
87
rm -rf %{buildroot}
86
- make install PREFIX=/usr DESTDIR=%{buildroot}
88
+ VERGEN_GIT_SHA= $LACT_COMMIT_HASH make install PREFIX=/usr DESTDIR=%{buildroot}
87
89
88
90
%files
89
91
%defattr(-,root,root,-)
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ AMDGPU control utility
17
17
%setup -q -n LACT-%{version }
18
18
19
19
%build
20
- make build-release-headless %{?_smp_mflags }
20
+ VERGEN_GIT_SHA=b818f39 make build-release-headless %{?_smp_mflags }
21
21
22
22
%install
23
23
rm -rf %{buildroot }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ AMDGPU control utility
17
17
%setup -q -n LACT-%{version }
18
18
19
19
%build
20
- make build-release-libadwaita %{?_smp_mflags }
20
+ VERGEN_GIT_SHA=b818f39 make build-release-libadwaita %{?_smp_mflags }
21
21
22
22
%install
23
23
rm -rf %{buildroot }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ AMDGPU control utility
17
17
%setup -q -n LACT-%{version }
18
18
19
19
%build
20
- make build-release %{?_smp_mflags }
20
+ VERGEN_GIT_SHA=b818f39 make build-release %{?_smp_mflags }
21
21
22
22
%install
23
23
rm -rf %{buildroot }
You can’t perform that action at this time.
0 commit comments