contrib/rpm: use meson by default for builds on RHEL10

As part of our plan to deprecate autotools, we will now be using meson
by default to build NM releases on RHEL 10.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1929
This commit is contained in:
Jan Vaclav 2024-04-25 14:46:20 +02:00
parent d8c4e70533
commit 5fae0403b8

View File

@ -48,7 +48,7 @@
%global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer
###############################################################################
%if 0%{?fedora} > 40
%if 0%{?fedora} > 40 || 0%{?rhel} >= 10
%bcond_without meson
%else
%bcond_with meson