diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 583e962ed..fcbd08873 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -48,8 +48,11 @@ %global systemd_units_cloud_setup nm-cloud-setup.service nm-cloud-setup.timer ############################################################################### - -%bcond_with meson +%if 0%{?fedora} > 40 +%bcond_without meson +%else +%bcond_with meson +%endif %bcond_without adsl %bcond_without bluetooth %bcond_without wwan