Skip to content

Commit a0ff27b

Browse files
Merge pull request #6457 from openshift-cherrypick-robot/cherry-pick-6395-to-release-1.42
[release-1.42] RPM: build with sequoia on F43+
2 parents 1ba41f0 + 22cd531 commit a0ff27b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

rpm/buildah.spec

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111

1212
%if %{defined fedora}
1313
%define build_with_btrfs 1
14+
%if 0%{?fedora} >= 43
15+
%define sequoia 1
16+
%endif
1417
%endif
1518

1619
%if %{defined rhel}
@@ -69,6 +72,9 @@ BuildRequires: libseccomp-devel
6972
%endif
7073
Requires: libseccomp >= 2.4.1-0
7174
Suggests: cpp
75+
%if %{defined sequoia}
76+
Requires: podman-sequoia
77+
%endif
7278

7379
%description
7480
The %{name} package provides a command line tool which can be used to
@@ -132,6 +138,10 @@ export BUILDTAGS+=" exclude_graphdriver_btrfs"
132138
export BUILDTAGS+=" libtrust_openssl"
133139
%endif
134140

141+
%if %{defined sequoia}
142+
export BUILDTAGS+=" containers_image_sequoia"
143+
%endif
144+
135145
%gobuild -o bin/%{name} ./cmd/%{name}
136146
%gobuild -o bin/imgtype ./tests/imgtype
137147
%gobuild -o bin/copy ./tests/copy

0 commit comments

Comments
 (0)