Skip to content

Commit d4986fc

Browse files
ci: remove default version from finch rpm spec (runfinch#1638)
Signed-off-by: Swapnanil-Gupta <swpnlg@amazon.com>
1 parent 468983a commit d4986fc

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

contrib/packaging/rpm/finch.spec

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,7 @@
44
%global debug_package %{nil}
55
%global pkg_config ../config
66

7-
# default versions and commit ids
8-
# actual values are passed as build options to rpmbuild in contrib/packaging/rpm/build.sh
9-
%global _finch_release 1.2.3
10-
%global _finch_commit b84b424926d5f4e2d2abf0c51507856a73221e9d
11-
%global _buildkit_release 0.15.1
12-
%global _buildkit_commit 979542e90f2cb38077c808e0867d8d2c16ed10b8
13-
%global _soci_release 0.7.0
14-
%global _soci_commit 7c6fae2c3848fe8ad161ce35d3423898cea5fde8
15-
%global _finch_daemon_release 0.19.1
16-
%global _finch_daemon_commit 7ee991cb3be01fdb0013649b9e8fc6b5e3c5a35d
17-
%global _cosign_release 2.4.0
18-
%global _cosign_commit b5e7dc123a272080f4af4554054797296271e902
19-
%global _min_containerd_version >=1.7.24
20-
%global _min_nerdctl_version >=2.1.5
21-
%global _min_cni_plugins_version >=1.7.0
22-
23-
# build_latest takes precendence because build_local is for debugging
24-
%if %{undefined build_latest} && %{undefined build_local}
25-
# if neither is defined, fall back to default values
26-
%global finch_release %{_finch_release}
27-
%global finch_commit %{_finch_commit}
28-
%global buildkit_release %{_buildkit_release}
29-
%global buildkit_commit %{_buildkit_commit}
30-
%global soci_release %{_soci_release}
31-
%global soci_commit %{_soci_commit}
32-
%global finch_daemon_release %{_finch_daemon_release}
33-
%global finch_daemon_commit %{_finch_daemon_commit}
34-
%global cosign_release %{_cosign_release}
35-
%global cosign_commit %{_cosign_commit}
36-
%global min_containerd_version %{_min_containerd_version}
37-
%global min_nerdctl_version %{_min_nerdctl_version}
38-
%global min_cni_plugins_version %{_min_cni_plugins_version}
39-
%endif
40-
7+
# finch
418
%global finch_package github.com/runfinch/finch
429
%global finch_src finch-%{finch_commit}
4310
%global finch_rpm_version %(r=%finch_release; echo ${r%%%%-*})

0 commit comments

Comments
 (0)