From c1f3d1f1266e700295cc87fe49a9d36afd65af97 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 21 Sep 2023 01:59:09 -0400 Subject: [PATCH] Fix flatpak build While only libmm-glib is used by flatpak builds, the systemd/udev files are installed into a location which does not match the %files listing, and that wouldn't make sense if they were being used, unless these arguments are specified. There is no macro for the udev parent directory, and the package buildsystem adds rules.d itself, so it ends up needing to be hardcoded. --- ModemManager.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ModemManager.spec b/ModemManager.spec index 95d183a..f952722 100644 --- a/ModemManager.spec +++ b/ModemManager.spec @@ -106,6 +106,8 @@ Vala bindings for ModemManager # We'll just install the bash-completion file ourselves. %meson \ -Ddist_version='"%{version}-%{release}"' \ + -Dudevdir=/usr/lib/udev \ + -Dsystemdsystemunitdir=%{_unitdir} \ -Dvapi=true \ -Dgtk_doc=true \ -Dpolkit=permissive \