Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions rpm/buildah.spec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

%if %{defined fedora}
%define build_with_btrfs 1
%if 0%{?fedora} >= 43
%define sequoia 1
%endif
%endif

%if %{defined rhel}
Expand Down Expand Up @@ -69,6 +72,9 @@ BuildRequires: libseccomp-devel
%endif
Requires: libseccomp >= 2.4.1-0
Suggests: cpp
%if %{defined sequoia}
Requires: podman-sequoia
%endif

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

%if %{defined sequoia}
export BUILDTAGS+=" containers_image_sequoia"
%endif

%gobuild -o bin/%{name} ./cmd/%{name}
%gobuild -o bin/imgtype ./tests/imgtype
%gobuild -o bin/copy ./tests/copy
Expand Down