# that's still supported by the vendor. It may work on other distros
# or versions, but no effort will be made to ensure that going forward.
%define min_rhel 8
-%define min_fedora 33
+%define min_fedora 37
%define arches_qemu_kvm %{ix86} x86_64 %{power64} %{arm} aarch64 s390x
%if 0%{?rhel}
%define arches_systemtap_64bit %{arches_64bit}
%define arches_dmidecode %{arches_x86}
%define arches_xen %{arches_x86} aarch64
-%if 0%{?fedora} >= 36
+%if 0%{?fedora}
%define arches_xen x86_64 aarch64
%endif
%define arches_vbox %{arches_x86}
%define with_firewalld_zone 0%{!?_without_firewalld_zone:1}
-%if (0%{?fedora} && 0%{?fedora} < 34) || (0%{?rhel} && 0%{?rhel} < 9)
+%if 0%{?rhel} && 0%{?rhel} < 9
%define with_netcf 0%{!?_without_netcf:1}
%endif
%endif
%define with_modular_daemons 0
-%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
+%if 0%{?fedora} || 0%{?rhel} >= 9
%define with_modular_daemons 1
%endif
%if %{with_netcf}
BuildRequires: netcf-devel >= 0.2.2
%endif
-%if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
+%if 0%{?fedora} || 0%{?rhel} >= 9
BuildRequires: passt
%endif
%if %{with_esx}
# For uid creation during pre
Requires(pre): shadow-utils
# Needed by /usr/libexec/libvirt-guests.sh script.
-%if 0%{?fedora} >= 37
+%if 0%{?fedora}
Requires: gettext-runtime
%else
Requires: gettext
%if %{with_numad}
Requires: numad
%endif
- %if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
+ %if 0%{?fedora} || 0%{?rhel} >= 9
Recommends: passt
Recommends: passt-selinux
%endif