Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
%define with_libxl 0
%define with_hyperv 0
%define with_vz 0
+
+ %if 0%{?rhel} > 7
+ %define with_lxc 0
+ %endif
%endif
# Fedora 17 / RHEL-7 are first where we use systemd. Although earlier
BuildRequires: /usr/bin/pod2man
%endif
BuildRequires: git
-%if 0%{?fedora} >= 27
+%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
BuildRequires: perl-interpreter
%else
BuildRequires: perl
Requires: bzip2
Requires: lzop
Requires: xz
- %if 0%{?fedora}
+ %if 0%{?fedora} || 0%{?rhel} > 7
Requires: systemd-container
%endif
Requires: libvirt-daemon = %{version}-%{release}
# There really is a hard cross-driver dependency here
Requires: libvirt-daemon-driver-network = %{version}-%{release}
- %if 0%{?fedora}
+ %if 0%{?fedora} || 0%{?rhel} > 7
Requires: systemd-container
%endif