Skip to content

Commit 3a5ae3f

Browse files
Merge pull request containers#27336 from lsm5/rpm-sequoia
RPM: build with sequoia for F43+
2 parents b3ec5cf + 0b1e9a7 commit 3a5ae3f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rpm/podman.spec

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
%define qemu 1
1616
# bats is included in the default repos (No epel/copr etc.)
1717
%define distro_bats 1
18+
%if %{?fedora} >= 43
19+
%define sequoia 1
20+
%endif
1821
%endif
1922

2023
%if %{defined copr_username}
@@ -109,6 +112,10 @@ Requires: containers-common-extra >= 5:0.58.0-1
109112
%else
110113
Requires: containers-common-extra
111114
%endif
115+
%if %{defined sequoia}
116+
Requires: podman-sequoia
117+
%endif
118+
112119
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
113120
Provides: %{name}-quadlet = %{epoch}:%{version}-%{release}
114121

@@ -265,6 +272,11 @@ export BASEBUILDTAGS="$BASEBUILDTAGS libtrust_openssl"
265272

266273
# build %%{name}
267274
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh)"
275+
276+
%if %{defined sequoia}
277+
export BUILDTAGS="$BUILDTAGS containers_image_sequoia"
278+
%endif
279+
268280
%gobuild -o bin/%{name} ./cmd/%{name}
269281

270282
# build %%{name}-remote

0 commit comments

Comments
 (0)