Skip to content

Commit

Permalink
[skip-ci] RPM: no qemu on RHEL
Browse files Browse the repository at this point in the history
This commit adjusts qemu dependency to be Fedora only.

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Dec 12, 2024
1 parent b60df61 commit 0d6d3f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rpm/podman.spec
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
# podman-machine subpackage will be present only on these architectures
%global machine_arches x86_64 aarch64

%if %{defined fedora}
%define qemu 1
%endif

Name: podman
%if %{defined copr_build}
Epoch: 102
Expand Down Expand Up @@ -187,7 +191,9 @@ when `%{_bindir}/%{name}sh` is set as a login shell or set as os.Args[0].
Summary: Metapackage for setting up %{name} machine
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: gvisor-tap-vsock
%if %{defined qemu}
Requires: qemu
%endif
Requires: virtiofsd
ExclusiveArch: x86_64 aarch64

Expand Down

0 comments on commit 0d6d3f0

Please sign in to comment.